Skip to content

Commit

Permalink
gpio: select IRQ_DOMAIN for gpiolib irqchip helpers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
linusw committed May 29, 2014
1 parent 7bcbce5 commit fc34627
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ config GPIO_ACPI
depends on ACPI

config GPIOLIB_IRQCHIP
select IRQ_DOMAIN
bool

config DEBUG_GPIO
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit fc34627

Please sign in to comment.