[SERIAL] ip22zilog: Fix oops on runlevel change with serial console
authorMartin Michlmayr <tbm@cyrius.com>
Tue, 7 Mar 2006 21:04:59 +0000 (21:04 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 7 Mar 2006 21:04:59 +0000 (21:04 +0000)
commitc4432c41b0c74d770ebc5e0a4fc3df3d00dfc131
treef47e0db834719e1347a8779483bb06cb848f6243
parent7a171cdcb6ce82cc5e4bd7cb8eab172a43395f87
[SERIAL] ip22zilog: Fix oops on runlevel change with serial console

Incorrect uart_write_wakeup() calls cause reference to a NULL tty
pointer.  This has been fixed in the sunsab and sunzilog serial drivers
in October 2005.  Update the ip22zilog, which is based on sunzilog,
accordingly.

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk
drivers/serial/ip22zilog.c