Merge branch 'depends/rmk/gpio' into next/fixes
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-mmp / include / mach / gpio-pxa.h
index c017a983eced7ffc9e99bdd5beda960d9cc89b22..d14eeaf163226d3b2ff53c394976be090b1e4d62 100644 (file)
@@ -7,7 +7,7 @@
 #define GPIO_REGS_VIRT (APB_VIRT_BASE + 0x19000)
 
 #define BANK_OFF(n)    (((n) < 3) ? (n) << 2 : 0x100 + (((n) - 3) << 2))
-#define GPIO_REG(x)    (*((volatile u32 *)(GPIO_REGS_VIRT + (x))))
+#define GPIO_REG(x)    (GPIO_REGS_VIRT + (x))
 
 #define NR_BUILTIN_GPIO                IRQ_GPIO_NUM