aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/include/mach/irqs.h
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2010-03-15 13:54:49 +0530
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:44:45 -0600
commitde601d55733ab12bb6eace42326695f7bcdc8ffe (patch)
tree4dd1eeba430fee15026ae7ba1445db6e0ed66680 /arch/arm/mach-ux500/include/mach/irqs.h
parentfec7f54996849ec74e5c57c6647883d54bea7d5a (diff)
ux500: switch to nomadik-gpio
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/irqs.h')
-rwxr-xr-xarch/arm/mach-ux500/include/mach/irqs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/include/mach/irqs.h b/arch/arm/mach-ux500/include/mach/irqs.h
index 919326596aa..cfd18d0a9b3 100755
--- a/arch/arm/mach-ux500/include/mach/irqs.h
+++ b/arch/arm/mach-ux500/include/mach/irqs.h
@@ -90,11 +90,13 @@
#define U8500_SOC_NR_IRQS 161
/* After chip-specific IRQ numbers we have the GPIO ones */
-#define U8500_NR_GPIO 268
+#define U8500_NR_GPIO 288
#define GPIO_TO_IRQ(gpio) (gpio + U8500_SOC_NR_IRQS)
#define IRQ_TO_GPIO(irq) (irq - U8500_SOC_NR_IRQS)
#define NR_IRQS GPIO_TO_IRQ(U8500_NR_GPIO)
+#define NOMADIK_GPIO_TO_IRQ GPIO_TO_IRQ
+#define NOMADIK_IRQ_TO_GPIO IRQ_TO_GPIO
#endif /* ASM_ARCH_IRQS_H */