gpio: pca935x: Allow IRQ support for driver built as a module
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 20 May 2020 21:19:15 +0000 (00:19 +0300)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 25 May 2020 09:37:56 +0000 (11:37 +0200)
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>
drivers/gpio/Kconfig

index beccdc1d0467667bc50ea3b24357821e84b427c4..78958c8aaf92233807b9cfcb77fa7b46f06a3bab 100644 (file)
@@ -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