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 <[email protected]>
---
 drivers/gpio/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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.
 
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to