diff mbox

gpio: drop surplus X86 dependencies

Message ID 1446370834-30712-1-git-send-email-linus.walleij@linaro.org
State Accepted
Commit 7768feb0f56d4ba6c1ae1395e144e168e41f1900
Headers show

Commit Message

Linus Walleij Nov. 1, 2015, 9:40 a.m. UTC
Port-mapped I/O depends on X86 already, so individual drivers need
not specify this dependency.

Suggested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/gpio/Kconfig | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index d20644b9e5b9..777f401aa8ec 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -486,17 +486,15 @@  config GPIO_ZYNQ
 endmenu
 
 menu "Port-mapped I/O GPIO drivers"
-	depends on X86
+	depends on X86 # Unconditional I/O space access
 
 config GPIO_104_IDIO_16
 	tristate "ACCES 104-IDIO-16 GPIO support"
-	depends on X86
 	help
 	  Enables GPIO support for the ACCES 104-IDIO-16 family.
 
 config GPIO_F7188X
 	tristate "F71869, F71869A, F71882FG and F71889F GPIO support"
-	depends on X86
 	help
 	  This option enables support for GPIOs found on Fintek Super-I/O
 	  chips F71869, F71869A, F71882FG and F71889F.
@@ -506,7 +504,6 @@  config GPIO_F7188X
 
 config GPIO_IT87
 	tristate "IT87xx GPIO support"
-	depends on X86 # unconditional access to IO space.
 	help
 	  Say yes here to support GPIO functionality of IT87xx Super I/O chips.
 
@@ -518,7 +515,7 @@  config GPIO_IT87
 
 config GPIO_SCH
 	tristate "Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO"
-	depends on PCI && X86
+	depends on PCI
 	select MFD_CORE
 	select LPC_SCH
 	help