ARM: LPC32xx: Remove mach specific ARCH_NR_GPIOS, use default
authorRoland Stigge <stigge@antcom.de>
Thu, 14 Jun 2012 14:16:18 +0000 (16:16 +0200)
committerRoland Stigge <stigge@antcom.de>
Thu, 14 Jun 2012 14:16:18 +0000 (16:16 +0200)
ARCH_NR_GPIOS was defined statically to include exactly all SoC specific GPIOs.
Now if additional GPIOs need to be added dynamically, e.g. via DT, none are
available. Removing the mach specific setting, leaving ARCH_NR_GPIOS to the
default of 256 (currently in include/asm-generic/gpio.h).

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
arch/arm/mach-lpc32xx/include/mach/gpio.h

index 2ba6ca412bef3e06245853dfdeb5904ae54e3fbd..0052e7a761798acd1fef17aa5cf2a68ed8b43d29 100644 (file)
@@ -3,6 +3,4 @@
 
 #include "gpio-lpc32xx.h"
 
-#define ARCH_NR_GPIOS (LPC32XX_GPO_P3_GRP + LPC32XX_GPO_P3_MAX)
-
 #endif /* __MACH_GPIO_H */
This page took 0.024316 seconds and 5 git commands to generate.