]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
gpio: grgpio: select GPIOLIB_IRQCHIP
authorPeng Fan <peng.fan@nxp.com>
Thu, 22 May 2025 07:11:51 +0000 (15:11 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 22 May 2025 08:00:08 +0000 (10:00 +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: a30be40bf1d4 ("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>
drivers/gpio/Kconfig

index ac0c646451a549f6db4d58c2fa4aa8270c9513e9..2ff53b00cf7c956acc9d995e4cf07da1587a4035 100644 (file)
@@ -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.