]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
gpio: lpc18xx: select GPIOLIB_IRQCHIP
authorPeng Fan <peng.fan@nxp.com>
Thu, 22 May 2025 07:11:52 +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: 289e42df1358 ("gpio: lpc18xx: Make irq_chip immutable")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20250522-gpio-fix-v1-3-98ceae7c4c3c@nxp.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/Kconfig

index 2ff53b00cf7c956acc9d995e4cf07da1587a4035..c75fc8fc7bb23088a4f15d61d4b40172a41ae078 100644 (file)
@@ -438,6 +438,7 @@ config GPIO_LPC18XX
        default y if ARCH_LPC18XX
        depends on OF_GPIO && (ARCH_LPC18XX || COMPILE_TEST)
        select IRQ_DOMAIN_HIERARCHY
+       select GPIOLIB_IRQCHIP
        help
          Select this option to enable GPIO driver for
          NXP LPC18XX/43XX devices.