Ver código fonte

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>
Linus Walleij 11 anos atrás
pai
commit
fc34627012
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      drivers/gpio/Kconfig

+ 2 - 1
drivers/gpio/Kconfig

@@ -56,6 +56,7 @@ config GPIO_ACPI
 	depends on ACPI
 	depends on ACPI
 
 
 config GPIOLIB_IRQCHIP
 config GPIOLIB_IRQCHIP
+	select IRQ_DOMAIN
 	bool
 	bool
 
 
 config DEBUG_GPIO
 config DEBUG_GPIO
@@ -710,7 +711,7 @@ config GPIO_AMD8111
 config GPIO_INTEL_MID
 config GPIO_INTEL_MID
 	bool "Intel Mid GPIO support"
 	bool "Intel Mid GPIO support"
 	depends on PCI && X86
 	depends on PCI && X86
-	select IRQ_DOMAIN
+	select GPIOLIB_IRQCHIP
 	help
 	help
 	  Say Y here to support Intel Mid GPIO.
 	  Say Y here to support Intel Mid GPIO.