Commit 01e4397d authored by Peng Fan's avatar Peng Fan Committed by Bartosz Golaszewski
Browse files

gpio: lpc18xx: 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: 289e42df ("gpio: lpc18xx: Make irq_chip immutable")
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20250522-gpio-fix-v1-3-98ceae7c4c3c@nxp.com


Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 3dff3563
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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.