summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorKyungmin Park <kmpark@infradead.org>2011-05-30 10:24:47 +0900
committerGrant Likely <grant.likely@secretlab.ca>2011-05-29 23:53:20 -0600
commit27721a52d6c8e33327ec3cae9f730204be99d251 (patch)
tree8a3124d1e3e9ce6d46e26b4f65952efef481f4c8 /drivers/gpio
parent55922c9d1b84b89cb946c777fddccb3247e7df2c (diff)
downloadlinux-27721a52d6c8e33327ec3cae9f730204be99d251.tar.gz
linux-27721a52d6c8e33327ec3cae9f730204be99d251.tar.bz2
linux-27721a52d6c8e33327ec3cae9f730204be99d251.zip
gpio: Fix gpio-exynos4 build fails in mainline
After the GPIO driver move, some symbols became selectable when they shouldn't be. Tighten the dependencies. Reported-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/Kconfig16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 4a7f63143455..317199796c5f 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -88,29 +88,29 @@ config GPIO_IT8761E
config GPIO_EXYNOS4
bool "Samsung Exynos4 GPIO library support"
- default y if CPU_EXYNOS4210
- depends on ARM
+ default y
+ depends on ARM && CPU_EXYNOS4210
help
Say yes here to support Samsung Exynos4 series SoCs GPIO library
config GPIO_PLAT_SAMSUNG
bool "Samsung SoCs GPIO library support"
- default y if SAMSUNG_GPIOLIB_4BIT
- depends on ARM
+ default y
+ depends on ARM && SAMSUNG_GPIOLIB_4BIT
help
Say yes here to support Samsung SoCs GPIO library
config GPIO_S5PC100
bool "Samsung S5PC100 GPIO library support"
- default y if CPU_S5PC100
- depends on ARM
+ default y
+ depends on ARM && CPU_S5PC100
help
Say yes here to support Samsung S5PC100 SoCs GPIO library
config GPIO_S5PV210
bool "Samsung S5PV210/S5PC110 GPIO library support"
- default y if CPU_S5PV210
- depends on ARM
+ default y
+ depends on ARM && CPU_S5PV210
help
Say yes here to support Samsung S5PV210/S5PC110 SoCs GPIO library