aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-05-29 17:06:42 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-29 17:06:42 -0400
commitfac04863cef53a69830590b2e1c54345068a9747 (patch)
tree59b9161b442ccd340324a8b42cdace84206014bb /drivers/gpio/Kconfig
parent2ba781ced93922e249dee2ac0751faccb4fb0656 (diff)
arm gpio drivers: make them 'depends on ARM'
We had a few drivers move from arch/arm into drivers/gpio, but they don't actually compile without the ARM platform headers etc. As a result they were messing up allyesconfig on x86. Make them depend on ARM. Reported-by: Ingo Molnar <mingo@elte.hu> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 592397629ddc..4a7f63143455 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -89,24 +89,28 @@ config GPIO_IT8761E
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 if CPU_EXYNOS4210
92 depends on ARM
92 help 93 help
93 Say yes here to support Samsung Exynos4 series SoCs GPIO library 94 Say yes here to support Samsung Exynos4 series SoCs GPIO library
94 95
95config GPIO_PLAT_SAMSUNG 96config GPIO_PLAT_SAMSUNG
96 bool "Samsung SoCs GPIO library support" 97 bool "Samsung SoCs GPIO library support"
97 default y if SAMSUNG_GPIOLIB_4BIT 98 default y if SAMSUNG_GPIOLIB_4BIT
99 depends on ARM
98 help 100 help
99 Say yes here to support Samsung SoCs GPIO library 101 Say yes here to support Samsung SoCs GPIO library
100 102
101config GPIO_S5PC100 103config GPIO_S5PC100
102 bool "Samsung S5PC100 GPIO library support" 104 bool "Samsung S5PC100 GPIO library support"
103 default y if CPU_S5PC100 105 default y if CPU_S5PC100
106 depends on ARM
104 help 107 help
105 Say yes here to support Samsung S5PC100 SoCs GPIO library 108 Say yes here to support Samsung S5PC100 SoCs GPIO library
106 109
107config GPIO_S5PV210 110config GPIO_S5PV210
108 bool "Samsung S5PV210/S5PC110 GPIO library support" 111 bool "Samsung S5PV210/S5PC110 GPIO library support"
109 default y if CPU_S5PV210 112 default y if CPU_S5PV210
113 depends on ARM
110 help 114 help
111 Say yes here to support Samsung S5PV210/S5PC110 SoCs GPIO library 115 Say yes here to support Samsung S5PV210/S5PC110 SoCs GPIO library
112 116