[POWERPC] of_serial: Ignore unknown serial port
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>
Thu, 31 May 2007 09:30:33 +0000 (19:30 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jul 2007 11:53:41 +0000 (21:53 +1000)
commit1558f9b44e1c6b5eba46f58214851fd24285641f
tree786887334b5c0d38970e7dad1e22d7a6702c44fc
parentf716a425c15ebadf60286cd4fb60d1d6f46e3cf9
[POWERPC] of_serial: Ignore unknown serial port

Current of_serial driver assumes unknown serial port to be 8250.  But
this behavior may cause fatal problems when the serial port is not
8250.  This corrects probe routine to ignore unknown serial port.

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>
drivers/serial/of_serial.c