aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorKyungmin Park <kmpark@infradead.org>2011-05-29 21:24:47 -0400
committerGrant Likely <grant.likely@secretlab.ca>2011-05-30 01:53:20 -0400
commit27721a52d6c8e33327ec3cae9f730204be99d251 (patch)
tree8a3124d1e3e9ce6d46e26b4f65952efef481f4c8 /drivers/gpio/Kconfig
parent55922c9d1b84b89cb946c777fddccb3247e7df2c (diff)
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/Kconfig')
-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
88 88
89config GPIO_EXYNOS4 89config GPIO_EXYNOS4
90 bool "Samsung Exynos4 GPIO library support" 90 bool "Samsung Exynos4 GPIO library support"
91 default y if CPU_EXYNOS4210 91 default y
92 depends on ARM 92 depends on ARM && CPU_EXYNOS4210
93 help 93 help
94 Say yes here to support Samsung Exynos4 series SoCs GPIO library 94 Say yes here to support Samsung Exynos4 series SoCs GPIO library
95 95
96config GPIO_PLAT_SAMSUNG 96config GPIO_PLAT_SAMSUNG
97 bool "Samsung SoCs GPIO library support" 97 bool "Samsung SoCs GPIO library support"
98 default y if SAMSUNG_GPIOLIB_4BIT 98 default y
99 depends on ARM 99 depends on ARM && SAMSUNG_GPIOLIB_4BIT
100 help 100 help
101 Say yes here to support Samsung SoCs GPIO library 101 Say yes here to support Samsung SoCs GPIO library
102 102
103config GPIO_S5PC100 103config GPIO_S5PC100
104 bool "Samsung S5PC100 GPIO library support" 104 bool "Samsung S5PC100 GPIO library support"
105 default y if CPU_S5PC100 105 default y
106 depends on ARM 106 depends on ARM && CPU_S5PC100
107 help 107 help
108 Say yes here to support Samsung S5PC100 SoCs GPIO library 108 Say yes here to support Samsung S5PC100 SoCs GPIO library
109 109
110config GPIO_S5PV210 110config GPIO_S5PV210
111 bool "Samsung S5PV210/S5PC110 GPIO library support" 111 bool "Samsung S5PV210/S5PC110 GPIO library support"
112 default y if CPU_S5PV210 112 default y
113 depends on ARM 113 depends on ARM && CPU_S5PV210
114 help 114 help
115 Say yes here to support Samsung S5PV210/S5PC110 SoCs GPIO library 115 Say yes here to support Samsung S5PV210/S5PC110 SoCs GPIO library
116 116