summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-05-20 23:19:15 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-05-25 11:37:56 +0200
commite33a58a29c6ad6f844cdc184210aa1feb5e2fbe0 (patch)
tree69126f2d3f450304b5b50da2ee0b05d5461803f3 /drivers/gpio
parentgpio: pxa: Add COMPILE_TEST support (diff)
downloadlinux-e33a58a29c6ad6f844cdc184210aa1feb5e2fbe0.tar.xz
linux-e33a58a29c6ad6f844cdc184210aa1feb5e2fbe0.zip
gpio: pca935x: Allow IRQ support for driver built as a module
Perhaps by some historical reasons the IRQ support has been allowed only for built-in driver. However, there is nothing prevents us to build it as module an use as IRQ chip. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index beccdc1d0467..78958c8aaf92 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -952,7 +952,7 @@ config GPIO_PCA953X
config GPIO_PCA953X_IRQ
bool "Interrupt controller support for PCA953x"
- depends on GPIO_PCA953X=y
+ depends on GPIO_PCA953X
select GPIOLIB_IRQCHIP
help
Say yes here to enable the pca953x to be used as an interrupt