Skip to content

Commit fac0486

Browse files
committed
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>
1 parent 2ba781c commit fac0486

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/gpio/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,24 +89,28 @@ config GPIO_IT8761E
8989
config GPIO_EXYNOS4
9090
bool "Samsung Exynos4 GPIO library support"
9191
default y if CPU_EXYNOS4210
92+
depends on ARM
9293
help
9394
Say yes here to support Samsung Exynos4 series SoCs GPIO library
9495

9596
config GPIO_PLAT_SAMSUNG
9697
bool "Samsung SoCs GPIO library support"
9798
default y if SAMSUNG_GPIOLIB_4BIT
99+
depends on ARM
98100
help
99101
Say yes here to support Samsung SoCs GPIO library
100102

101103
config GPIO_S5PC100
102104
bool "Samsung S5PC100 GPIO library support"
103105
default y if CPU_S5PC100
106+
depends on ARM
104107
help
105108
Say yes here to support Samsung S5PC100 SoCs GPIO library
106109

107110
config GPIO_S5PV210
108111
bool "Samsung S5PV210/S5PC110 GPIO library support"
109112
default y if CPU_S5PV210
113+
depends on ARM
110114
help
111115
Say yes here to support Samsung S5PV210/S5PC110 SoCs GPIO library
112116

0 commit comments

Comments
 (0)