diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-10-19 19:51:04 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2008-12-20 12:26:57 -0500 |
commit | 4c21343005b6b0d6ef24ab6e6a8f3883ff0cb569 (patch) | |
tree | 6a5cab5b87ce81abb3045882e083cccc9e2436eb /arch/arm/mach-kirkwood/include/mach/irqs.h | |
parent | 07332318f33da6acd88abb762a8b6febdfc560a3 (diff) |
[ARM] Kirkwood: implement GPIO and GPIO interrupt support
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-kirkwood/include/mach/irqs.h')
-rw-r--r-- | arch/arm/mach-kirkwood/include/mach/irqs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-kirkwood/include/mach/irqs.h b/arch/arm/mach-kirkwood/include/mach/irqs.h index 3a964bb14973..f00a0a45a67e 100644 --- a/arch/arm/mach-kirkwood/include/mach/irqs.h +++ b/arch/arm/mach-kirkwood/include/mach/irqs.h | |||
@@ -11,8 +11,6 @@ | |||
11 | #ifndef __ASM_ARCH_IRQS_H | 11 | #ifndef __ASM_ARCH_IRQS_H |
12 | #define __ASM_ARCH_IRQS_H | 12 | #define __ASM_ARCH_IRQS_H |
13 | 13 | ||
14 | #include "kirkwood.h" /* need GPIO_MAX */ | ||
15 | |||
16 | /* | 14 | /* |
17 | * Low Interrupt Controller | 15 | * Low Interrupt Controller |
18 | */ | 16 | */ |
@@ -57,7 +55,7 @@ | |||
57 | * KIRKWOOD General Purpose Pins | 55 | * KIRKWOOD General Purpose Pins |
58 | */ | 56 | */ |
59 | #define IRQ_KIRKWOOD_GPIO_START 64 | 57 | #define IRQ_KIRKWOOD_GPIO_START 64 |
60 | #define NR_GPIO_IRQS GPIO_MAX | 58 | #define NR_GPIO_IRQS 50 |
61 | 59 | ||
62 | #define NR_IRQS (IRQ_KIRKWOOD_GPIO_START + NR_GPIO_IRQS) | 60 | #define NR_IRQS (IRQ_KIRKWOOD_GPIO_START + NR_GPIO_IRQS) |
63 | 61 | ||