From: Arnd Bergmann Date: Fri, 14 Sep 2012 20:30:12 +0000 (+0000) Subject: input: rpcmouse: use __iomem pointers for MMIO X-Git-Tag: v3.7-rc1~158^2^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe73f03549a28204866387311f7d3d9ef5e1503a;p=platform%2Fupstream%2Fkernel-adaptation-pc.git input: rpcmouse: use __iomem pointers for MMIO ARM is moving to stricter checks on readl/write functions, so we need to use the correct types everywhere. Cc: Dmitry Torokhov Cc: linux-input@vger.kernel.org Signed-off-by: Arnd Bergmann --- diff --git a/drivers/input/mouse/rpcmouse.c b/drivers/input/mouse/rpcmouse.c index 272dedd..21c60fe 100644 --- a/drivers/input/mouse/rpcmouse.c +++ b/drivers/input/mouse/rpcmouse.c @@ -42,7 +42,7 @@ static irqreturn_t rpcmouse_irq(int irq, void *dev_id) x = (short) iomd_readl(IOMD_MOUSEX); y = (short) iomd_readl(IOMD_MOUSEY); - b = (short) (__raw_readl(0xe0310000) ^ 0x70); + b = (short) (__raw_readl(IOMEM(0xe0310000)) ^ 0x70); dx = x - rpcmouse_lastx; dy = y - rpcmouse_lasty;