From: Jingoo Han Date: Thu, 8 Aug 2013 08:32:52 +0000 (+0900) Subject: serial: mrst_max3110: fix casting warning X-Git-Tag: v3.12-rc1~182^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6602769ba92d9ed310af01772800ca4d0b1fff77;p=pandora-kernel.git serial: mrst_max3110: fix casting warning max->port.membase is (unsigned char __iomem *); thus, casting (unsigned char __iomem *) is necessary to fix the following warning. Also, serial_m3110_ops() is staticized. drivers/tty/serial/mrst_max3110.c:716:17: warning: symbol 'serial_m3110_ops' was not declared. Should it be static? drivers/tty/serial/mrst_max3110.c:847:27: warning: incorrect type in assignment (different address spaces) drivers/tty/serial/mrst_max3110.c:847:27: expected unsigned char [noderef] *membase drivers/tty/serial/mrst_max3110.c:847:27: got void * Signed-off-by: Jingoo Han Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed