Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+1 -1
+1 -1
drivers/input/mouse/rpcmouse.c
··· 42 42 43 43 x = (short) iomd_readl(IOMD_MOUSEX); 44 44 y = (short) iomd_readl(IOMD_MOUSEY); 45 - b = (short) (__raw_readl(0xe0310000) ^ 0x70); 45 + b = (short) (__raw_readl(IOMEM(0xe0310000)) ^ 0x70); 46 46 47 47 dx = x - rpcmouse_lastx; 48 48 dy = y - rpcmouse_lasty;