Skip to content

Commit

Permalink
ARM: LPC32xx: Remove mach specific ARCH_NR_GPIOS, use default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roland Stigge committed Jun 14, 2012
1 parent ac5ced9 commit 1a6e29c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-lpc32xx/include/mach/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@

#include "gpio-lpc32xx.h"

#define ARCH_NR_GPIOS (LPC32XX_GPO_P3_GRP + LPC32XX_GPO_P3_MAX)

#endif /* __MACH_GPIO_H */

0 comments on commit 1a6e29c

Please sign in to comment.