gpio; Make Intel chipset gpio drivers depend on x86
authorThomas Gleixner <tglx@linutronix.de>
Thu, 17 Mar 2011 19:32:46 +0000 (19:32 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 17 Mar 2011 19:49:02 +0000 (13:49 -0600)
Nothing outside of x86 can use that code.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

drivers/gpio/Kconfig

index 9573b33..b46442d 100644 (file)
@@ -101,7 +101,7 @@ config GPIO_VR41XX
 
 config GPIO_SCH
        tristate "Intel SCH GPIO"
-       depends on GPIOLIB && PCI
+       depends on GPIOLIB && PCI && X86
        select MFD_CORE
        select LPC_SCH
        help
@@ -321,13 +321,13 @@ config GPIO_BT8XX
 
 config GPIO_LANGWELL
        bool "Intel Langwell/Penwell GPIO support"
-       depends on PCI
+       depends on PCI && X86
        help
          Say Y here to support Intel Langwell/Penwell GPIO.
 
 config GPIO_PCH
        tristate "PCH GPIO of Intel Topcliff"
-       depends on PCI
+       depends on PCI && X86
        help
          This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff
          which is an IOH(Input/Output Hub) for x86 embedded processor.