diff mbox

[56/63] gpio: sch: Allow compile testing

Message ID 1456492895-21835-17-git-send-email-alexanders83@web.de
State New
Headers show

Commit Message

Alexander Stein Feb. 26, 2016, 1:21 p.m. UTC
Lower dependencies for compile testing.

Signed-off-by: Alexander Stein <alexanders83@web.de>
---
 drivers/gpio/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index db5e571c7fb9..b83bb56d290d 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -510,7 +510,7 @@  config GPIO_ZX
 endmenu
 
 menu "Port-mapped I/O GPIO drivers"
-	depends on X86 # Unconditional I/O space access
+	depends on X86 || COMPILE_TEST # Unconditional I/O space access
 
 config GPIO_104_DIO_48E
 	tristate "ACCES 104-DIO-48E GPIO support"
@@ -561,7 +561,7 @@  config GPIO_IT87
 
 config GPIO_SCH
 	tristate "Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO"
-	depends on PCI
+	depends on PCI || COMPILE_TEST
 	select MFD_CORE
 	select LPC_SCH
 	help