[PATCH] fix oops at pmac_zilog rmmod'ing

From: Colin Leroy
Date: Mon Mar 29 2004 - 03:53:00 EST


Hi,

rmmod'ing pmac_zilog currently oopses because uart_unregister_driver(),
which nullifies drv->tty_driver, is called before uart_remove_one_port(),
which uses said drv->tty_driver.

The comment at top of uart_unregister_driver() specifically says we have
to have removed all our ports
via uart_remove_one_port() before.

HTH,
--
Colin
This message represents the official view of the voices
in my head.

Attachment: pmac_zilog_fix.patch
Description: Binary data