From: Ishizaki Kou Date: Thu, 31 May 2007 09:33:04 +0000 (+1000) Subject: [POWERPC] of_serial: add port type checking X-Git-Tag: v2.6.23-rc1~767^2^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e34b9c94b6e8d63f94387f5148434db5f8f79084;p=pandora-kernel.git [POWERPC] of_serial: add port type checking 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 Acked-by: Arnd Bergmann Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed