diff options
author | Robert Marklund <robert.marklund@stericsson.com> | 2011-05-17 21:07:33 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 15:15:19 +0200 |
commit | 5ed26ef8f3ae51ed656945bdf39051c9c1bdfa0b (patch) | |
tree | 57a55864c018f1c01e24e0b3c1a09c635d7caf61 /arch/arm/mach-ux500/include/mach/irqs-board-mop500.h | |
parent | 579abc0816054e0c1b1bca1a8f9cda6157cbbc34 (diff) |
mach-ux500: gpio: Moved the NOMADIK_NR_GPIO
Move the NOMADIK_NR_GPIO to the right
location.
Fix warnings generated by this change.
ST-Ericsson Linux next: ER 340134
ST-Ericsson ID: 340139
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
Change-Id: I5b69d4a4662b707d815a867b2b5be19e4675d010
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24082
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/irqs-board-mop500.h')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/irqs-board-mop500.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h b/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h index 52e1e4aad25..4c7d188cbc0 100644 --- a/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h +++ b/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h @@ -10,6 +10,7 @@ /* Number of AB8500 irqs is taken from header file */ #include <linux/mfd/ab8500.h> +#include <linux/gpio.h> #define IRQ_LOCALTIMER 29 #define IRQ_LOCALWDOG 30 @@ -26,7 +27,6 @@ #define DBX500_NR_INTERNAL_IRQS 160 /* After chip-specific IRQ numbers we have the GPIO ones */ -#define NOMADIK_NR_GPIO 288 #define NOMADIK_GPIO_TO_IRQ(gpio) ((gpio) + DBX500_NR_INTERNAL_IRQS) #define NOMADIK_IRQ_TO_GPIO(irq) ((irq) - DBX500_NR_INTERNAL_IRQS) #define IRQ_GPIO_END NOMADIK_GPIO_TO_IRQ(NOMADIK_NR_GPIO) |