aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-05-16 05:59:14 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-05-23 07:24:42 -0400
commit3ff35cbcfa4bc7d7dbdd0279e32ea677567ded02 (patch)
tree8e354116a19a10bd454ad2169379815385f80148 /drivers
parentf01d907582f8461546379aa415a7c6d5cfb8e5fd (diff)
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. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Alexandre Courbot <gnurou@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 664df4d08459..3c603e8c2173 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -715,7 +715,7 @@ config GPIO_INTEL_MID
715 715
716config GPIO_PCH 716config GPIO_PCH
717 tristate "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7223/ML7831) GPIO" 717 tristate "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7223/ML7831) GPIO"
718 depends on PCI && X86 718 depends on PCI && (X86_32 || COMPILE_TEST)
719 select GENERIC_IRQ_CHIP 719 select GENERIC_IRQ_CHIP
720 help 720 help
721 This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff 721 This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff