ARM: 7244/1: mach-shmobile: Use CONFIG_ARCH_NR_GPIO
Add default value for CONFIG_ARCH_NR_GPIO to Kconfig and remove the
definition in gpio.h.
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 003b7d0..dbd2cb1 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1567,7 +1567,7 @@
config ARCH_NR_GPIO
int
- default 1024 if ARCH_TEGRA
+ default 1024 if ARCH_SHMOBILE || ARCH_TEGRA
default 0
help
Maximum number of GPIOs in the system.