[PATCH 3/4] gpio: lpc18xx: select GPIOLIB_IRQCHIP

Peng Fan (OSS) posted 4 patches 6 months, 3 weeks ago
[PATCH 3/4] gpio: lpc18xx: select GPIOLIB_IRQCHIP
Posted by Peng Fan (OSS) 6 months, 3 weeks ago
From: Peng Fan <peng.fan@nxp.com>

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>
---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 2ff53b00cf7c956acc9d995e4cf07da1587a4035..c75fc8fc7bb23088a4f15d61d4b40172a41ae078 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -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.

-- 
2.37.1
Re: [PATCH 3/4] gpio: lpc18xx: select GPIOLIB_IRQCHIP
Posted by Vladimir Zapolskiy 6 months, 3 weeks ago
On 5/22/25 10:11, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> 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>

Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>

--
Best wishes,
Vladimir