From: Andy Shevchenko Date: Wed, 20 May 2020 21:19:15 +0000 (+0300) Subject: gpio: pca935x: Allow IRQ support for driver built as a module X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~2017^2~7^2 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=e33a58a29c6ad6f844cdc184210aa1feb5e2fbe0;p=linux.git 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 Signed-off-by: Bartosz Golaszewski --- 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