From: Peng Fan Date: Thu, 22 May 2025 07:11:51 +0000 (+0800) Subject: gpio: grgpio: select GPIOLIB_IRQCHIP X-Git-Tag: v6.16-rc1~169^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3dff3563cc11e90f046902f0b2be40e82f5ee251;p=thirdparty%2Flinux.git 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: a30be40bf1d4 ("gpio: grgpio: Make irq_chip immutable") Signed-off-by: Peng Fan Link: https://lore.kernel.org/r/20250522-gpio-fix-v1-2-98ceae7c4c3c@nxp.com Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index ac0c646451a54..2ff53b00cf7c9 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -354,7 +354,7 @@ config GPIO_GRGPIO tristate "Aeroflex Gaisler GRGPIO support" depends on OF || COMPILE_TEST select GPIO_GENERIC - select IRQ_DOMAIN + select GPIOLIB_IRQCHIP help Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB VHDL IP core library.