From 6602769ba92d9ed310af01772800ca4d0b1fff77 Mon Sep 17 00:00:00 2001 From: Jingoo Han Date: Thu, 8 Aug 2013 17:32:52 +0900 Subject: [PATCH] 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-format-patch failed