[POWERPC] of_serial: add port type checking
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>
Thu, 31 May 2007 09:33:04 +0000 (19:33 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jul 2007 11:53:42 +0000 (21:53 +1000)
Currently, of_serial driver supports only 8250 compatible ports, but
prepares that others can easily be added.  Yet unregister routine
assumes port is 8250.  This corrects unregister routine to check
port type.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found