diff options
author | Paulius Zaleckas <paulius.zaleckas@teltonika.lt> | 2009-03-26 11:06:27 +0300 |
---|---|---|
committer | Paulius Zaleckas <paulius.zaleckas@teltonika.lt> | 2009-03-26 11:06:27 +0300 |
commit | 1df621ae2f3b03d557d962a7afec2b1d04558986 (patch) | |
tree | 3de532bd034f01a73d4c04e297afa69835886708 /arch/arm/mach-gemini/include/mach/irqs.h | |
parent | 881a95f976e687307b41ba3c767561f533485c7e (diff) | |
download | linux-1df621ae2f3b03d557d962a7afec2b1d04558986.tar.xz |
Gemini: gpiolib based GPIO support v2
v2:
- update copyrights
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Diffstat (limited to 'arch/arm/mach-gemini/include/mach/irqs.h')
-rw-r--r-- | arch/arm/mach-gemini/include/mach/irqs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-gemini/include/mach/irqs.h b/arch/arm/mach-gemini/include/mach/irqs.h index c7728ac458f3..06bc47e77e8b 100644 --- a/arch/arm/mach-gemini/include/mach/irqs.h +++ b/arch/arm/mach-gemini/include/mach/irqs.h @@ -43,8 +43,11 @@ #define NORMAL_IRQ_NUM 32 +#define GPIO_IRQ_BASE NORMAL_IRQ_NUM +#define GPIO_IRQ_NUM (3 * 32) + #define ARCH_TIMER_IRQ IRQ_TIMER2 -#define NR_IRQS NORMAL_IRQ_NUM +#define NR_IRQS (NORMAL_IRQ_NUM + GPIO_IRQ_NUM) #endif /* __MACH_IRQS_H__ */ |