Skip to contentSkip to conversation

gpio-pch: Fix Kconfig dependencies

PATCH In review Jean Delvare 2 participants 2 messages May 16, 2014 – May 23, 2014 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio-pch: Fix Kconfig dependencies

The gpio-pch driver is for a companion chip to the Intel Atom E600 series processors. These are 32-bit x86 processors so the driver is only needed on X86_32. Add COMPILE_TEST as an alternative, so that the driver can still be build-tested elsewhere.

Cc Linus Walleij <[email protected]>
Cc Alexandre Courbot <[email protected]>
---
 drivers/gpio/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -705,7 +705,7 @@ config GPIO_INTEL_MID
 
 config GPIO_PCH
 	tristate "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7223/ML7831) GPIO"
-	depends on PCI && X86
+	depends on PCI && (X86_32 || COMPILE_TEST)
 	select GENERIC_IRQ_CHIP
 	help
 	  This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff
Signature · 2 lines
Jean Delvare
SUSE L3 Support
#1 lore raw
Quoted 8 lines · Jean Delvare

The gpio-pch driver is for a companion chip to the Intel Atom E600 series processors. These are 32-bit x86 processors so the driver is only needed on X86_32. Add COMPILE_TEST as an alternative, so that the driver can still be build-tested elsewhere.

Cc Linus Walleij <[email protected]>
Cc Alexandre Courbot <[email protected]>

Patch applied.

Yours,
Linus Walleij