summaryrefslogtreecommitdiff
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-05-29 16:52:46 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-05-29 16:52:46 +0200
commitfc346270124a1a05a5b3c47f277d467ff410b3ae (patch)
tree4574f024361e530cbf44c4429b6fe1cb7d3522d6 /drivers/gpio/Kconfig
parent7bcbce55f20e41c014df4d5d9c8448f7b5e49d79 (diff)
downloadlwn-fc346270124a1a05a5b3c47f277d467ff410b3ae.tar.gz
lwn-fc346270124a1a05a5b3c47f277d467ff410b3ae.zip
gpio: select IRQ_DOMAIN for gpiolib irqchip helpers
These helpers depend on the IRQ_DOMAIN so select it explicitly, as it will not be present on all platforms such as Intel desktops and laptops using Intel-MID. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index fa3cb189f972..4a1b5113e527 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -56,6 +56,7 @@ config GPIO_ACPI
depends on ACPI
config GPIOLIB_IRQCHIP
+ select IRQ_DOMAIN
bool
config DEBUG_GPIO
@@ -710,7 +711,7 @@ config GPIO_AMD8111
config GPIO_INTEL_MID
bool "Intel Mid GPIO support"
depends on PCI && X86
- select IRQ_DOMAIN
+ select GPIOLIB_IRQCHIP
help
Say Y here to support Intel Mid GPIO.