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:27:13 -0500 |
commit | b95a13d79c0e92c9c844fa8aa089c9bd2ed10705 (patch) | |
tree | e1c4c855de14abe955d12e6436eb8dca64dad027 /arch/arm/mach-mv78xx0/include/mach/irqs.h | |
parent | 4c21343005b6b0d6ef24ab6e6a8f3883ff0cb569 (diff) |
[ARM] mv78xx0: 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-mv78xx0/include/mach/irqs.h')
-rw-r--r-- | arch/arm/mach-mv78xx0/include/mach/irqs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-mv78xx0/include/mach/irqs.h b/arch/arm/mach-mv78xx0/include/mach/irqs.h index bebc330281ec..fa1d422196c2 100644 --- a/arch/arm/mach-mv78xx0/include/mach/irqs.h +++ b/arch/arm/mach-mv78xx0/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 "mv78xx0.h" /* need GPIO_MAX */ | ||
15 | |||
16 | /* | 14 | /* |
17 | * MV78xx0 Low Interrupt Controller | 15 | * MV78xx0 Low Interrupt Controller |
18 | */ | 16 | */ |
@@ -88,7 +86,7 @@ | |||
88 | * MV78XX0 General Purpose Pins | 86 | * MV78XX0 General Purpose Pins |
89 | */ | 87 | */ |
90 | #define IRQ_MV78XX0_GPIO_START 96 | 88 | #define IRQ_MV78XX0_GPIO_START 96 |
91 | #define NR_GPIO_IRQS GPIO_MAX | 89 | #define NR_GPIO_IRQS 32 |
92 | 90 | ||
93 | #define NR_IRQS (IRQ_MV78XX0_GPIO_START + NR_GPIO_IRQS) | 91 | #define NR_IRQS (IRQ_MV78XX0_GPIO_START + NR_GPIO_IRQS) |
94 | 92 | ||