summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorPeter De Schrijver (NVIDIA)2011-12-21 15:14:52 +0100
committerRussell King2011-12-23 23:54:51 +0100
commit3dea19e826da3dd43b3dc308aca299c0b7263c6b (patch)
tree0c842b4050832be5cd1a91f2b8bf0666d7ec2e1e /arch/arm/Kconfig
parentARM: 7240/1: Make ARCH_NR_GPIO a Kconfig variable (diff)
downloadkernel-qcow2-linux-3dea19e826da3dd43b3dc308aca299c0b7263c6b.tar.gz
kernel-qcow2-linux-3dea19e826da3dd43b3dc308aca299c0b7263c6b.tar.xz
kernel-qcow2-linux-3dea19e826da3dd43b3dc308aca299c0b7263c6b.zip
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>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 003b7d00dd60..dbd2cb19924a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1567,7 +1567,7 @@ config LOCAL_TIMERS
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.