mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 20:54:10 +08:00
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>
This commit is contained in:
parent
5fa1a2e12a
commit
fe73f03549
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user