From 166f797c90b79eb87ff958a7ea4a433a954832d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Berkay=20K=C3=B6sebay?= Date: Tue, 1 Dec 2026 18:10:07 +0100 Subject: [PATCH] pinctrl: s5l8940x: select GPIO IRQ support used by the controller MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The driver uses gc->irq.domain and takes a struct gpio_irq_chip pointer to gc->irq. The irq member of struct gpio_chip is present only with CONFIG_GPIOLIB_IRQCHIP. Without another irqchip user to select it, the driver fails to build. Depend on GPIOLIB and select GPIOLIB_IRQCHIP, as other GPIO irqchip drivers in drivers/pinctrl/Kconfig do. Assisted-by: LLM Signed-off-by: Berkay Kösebay --- drivers/pinctrl/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index acf77c49debcde..ceda9402d7e7e1 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -620,7 +620,8 @@ source "drivers/pinctrl/vt8500/Kconfig" config PINCTRL_S5L8940X_GPIO tristate "Apple S5L8940X (A5) GPIO/pinctrl driver" - depends on OF + depends on OF && GPIOLIB + select GPIOLIB_IRQCHIP select PINMUX select PINCONF select GENERIC_PINCONF