]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
gpio: davinci: select GPIOLIB_IRQCHIP
authorPeng Fan <peng.fan@nxp.com>
Wed, 21 May 2025 07:20:48 +0000 (15:20 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 21 May 2025 10:11:54 +0000 (12:11 +0200)
This driver uses gpiochip_irq_reqres() and gpiochip_irq_relres() which
are only built with GPIOLIB_IRQCHIP=y. Add the missing Kconfig select.

Fixes: 3f50bb3124d7 ("gpio: davinci: Make irq_chip immutable")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505210606.PudPm5pC-lkp@intel.com/
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20250521072048.1053190-1-peng.fan@oss.nxp.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/Kconfig

index a559d5bb824932d07e5a11b4457c1d5fe457b8e8..c3465fd82b08f83a07b0afbca7d42e7e5bdccf70 100644 (file)
@@ -253,6 +253,7 @@ config GPIO_DAVINCI
        tristate "TI Davinci/Keystone GPIO support"
        default y if ARCH_DAVINCI
        depends on ((ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3)) || COMPILE_TEST
+       select GPIOLIB_IRQCHIP
        help
          Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.