From 708ee98c5b9437f699ec445bc6fe66b31b2b6ac7 Mon Sep 17 00:00:00 2001 From: Ryan Mallon Date: Mon, 28 Jun 2010 22:03:25 +0100 Subject: ARM: 6200/1: AT91: Define NR_BUILTIN_GPIO Add definition for NR_BUILTIN_GPIO for AT91 family Signed-off-by: Ryan Mallon Acked-by: Andrew Victor Signed-off-by: Russell King --- arch/arm/mach-at91/include/mach/gpio.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/mach-at91/include/mach/gpio.h') diff --git a/arch/arm/mach-at91/include/mach/gpio.h b/arch/arm/mach-at91/include/mach/gpio.h index 04c91e31c9c5..bfdd8ab26dc8 100644 --- a/arch/arm/mach-at91/include/mach/gpio.h +++ b/arch/arm/mach-at91/include/mach/gpio.h @@ -19,6 +19,7 @@ #define PIN_BASE NR_AIC_IRQS #define MAX_GPIO_BANKS 5 +#define NR_BUILTIN_GPIO (PIN_BASE + (MAX_GPIO_BANKS * 32)) /* these pin numbers double as IRQ numbers, like AT91xxx_ID_* values */ -- cgit v1.2.1