gpio: davinci: select GPIOLIB_IRQCHIP

This driver uses gpiochip_irq_reqres() and gpiochip_irq_relres() which
are only built with GPIOLIB_IRQCHIP=y. Add the missing Kconfig select.

Fixes: 3f50bb3124 ("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>
This commit is contained in:
Peng Fan 2025-05-21 15:20:48 +08:00 committed by Bartosz Golaszewski
parent 0f45b538ba
commit 4347566404
1 changed files with 1 additions and 0 deletions

View File

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