projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fa1a2e
)
input: rpcmouse: use __iomem pointers for MMIO
author
Arnd Bergmann
<arnd@arndb.de>
Fri, 14 Sep 2012 20:30:12 +0000
(20:30 +0000)
committer
Arnd Bergmann
<arnd@arndb.de>
Wed, 19 Sep 2012 13:37:13 +0000
(15:37 +0200)
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>
drivers/input/mouse/rpcmouse.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/mouse/rpcmouse.c
b/drivers/input/mouse/rpcmouse.c
index 272deddc8db65df8161636c5464f6009ec482e28..21c60fea5d310a6a2bbaebcd8d6e8d4e244d50af 100644
(file)
--- 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;