summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/board-mop500.h
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2012-02-13 13:52:25 +0400
committerLinus Walleij <linus.walleij@linaro.org>2012-02-29 19:32:38 +0400
commita1524eeb64c611995941ed570477cfd895da6bcd (patch)
tree1d017c0d92ec566a85617e328db7b0ab70f50655 /arch/arm/mach-ux500/board-mop500.h
parent70227a45d004cbbf77d6a38764092a580e8360d4 (diff)
downloadlinux-a1524eeb64c611995941ed570477cfd895da6bcd.tar.xz
ARM: ux500: fix around AB8500 GPIO macro name
AB8500 GPIO1 is the base of AB8500 gpio number too. Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.h')
-rw-r--r--arch/arm/mach-ux500/board-mop500.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.h b/arch/arm/mach-ux500/board-mop500.h
index f926d3db6207..7ff6cbffc104 100644
--- a/arch/arm/mach-ux500/board-mop500.h
+++ b/arch/arm/mach-ux500/board-mop500.h
@@ -63,7 +63,7 @@
* because the AB8500 GPIO pins are enumbered starting from 1, so the value in
* parens matches the GPIO pin number in the data sheet.
*/
-#define MOP500_AB8500_GPIO(x) (MOP500_EGPIO_END + (x) - 1)
+#define MOP500_AB8500_PIN_GPIO(x) (MOP500_EGPIO_END + (x) - 1)
/*Snowball AB8500 GPIO */
#define SNOWBALL_VSMPS2_1V8_GPIO MOP500_AB8500_PIN_GPIO(1) /* SYSCLKREQ2/GPIO1 */
#define SNOWBALL_PM_GPIO1_GPIO MOP500_AB8500_PIN_GPIO(2) /* SYSCLKREQ3/GPIO2 */