gpio: grgpio: 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: a30be40bf1 ("gpio: grgpio: Make irq_chip immutable")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20250522-gpio-fix-v1-2-98ceae7c4c3c@nxp.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
Peng Fan 2025-05-22 15:11:51 +08:00 committed by Bartosz Golaszewski
parent 86fabf1b17
commit 3dff3563cc
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ config GPIO_GRGPIO
tristate "Aeroflex Gaisler GRGPIO support" tristate "Aeroflex Gaisler GRGPIO support"
depends on OF || COMPILE_TEST depends on OF || COMPILE_TEST
select GPIO_GENERIC select GPIO_GENERIC
select IRQ_DOMAIN select GPIOLIB_IRQCHIP
help help
Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB
VHDL IP core library. VHDL IP core library.