summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/include/mach/irqs.h
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-10-20 01:51:04 +0200
committerNicolas Pitre <nico@cam.org>2008-12-20 12:26:57 -0500
commit4c21343005b6b0d6ef24ab6e6a8f3883ff0cb569 (patch)
tree6a5cab5b87ce81abb3045882e083cccc9e2436eb /arch/arm/mach-kirkwood/include/mach/irqs.h
parent07332318f33da6acd88abb762a8b6febdfc560a3 (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.h4
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 3a964bb1497..f00a0a45a67 100644
--- a/arch/arm/mach-kirkwood/include/mach/irqs.h
+++ b/arch/arm/mach-kirkwood/include/mach/irqs.h
@@ -11,8 +11,6 @@
#ifndef __ASM_ARCH_IRQS_H
#define __ASM_ARCH_IRQS_H
-#include "kirkwood.h" /* need GPIO_MAX */
-
/*
* Low Interrupt Controller
*/
@@ -57,7 +55,7 @@
* KIRKWOOD General Purpose Pins
*/
#define IRQ_KIRKWOOD_GPIO_START 64
-#define NR_GPIO_IRQS GPIO_MAX
+#define NR_GPIO_IRQS 50
#define NR_IRQS (IRQ_KIRKWOOD_GPIO_START + NR_GPIO_IRQS)