From: Peng Fan Date: Thu, 22 May 2025 07:11:50 +0000 (+0800) Subject: gpio: bcm-kona: select GPIOLIB_IRQCHIP X-Git-Tag: v6.16-rc1~169^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=86fabf1b174069465ea12b4140cb35543fd0c738;p=thirdparty%2Flinux.git gpio: bcm-kona: 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: 7b04f98027af ("gpio: bcm-kona: make irq_chip immutable") Signed-off-by: Peng Fan Link: https://lore.kernel.org/r/20250522-gpio-fix-v1-1-98ceae7c4c3c@nxp.com Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index c3465fd82b08f..ac0c646451a54 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -201,6 +201,7 @@ config GPIO_RASPBERRYPI_EXP config GPIO_BCM_KONA bool "Broadcom Kona GPIO" depends on ARCH_BCM_MOBILE || COMPILE_TEST + select GPIOLIB_IRQCHIP help Turn on GPIO support for Broadcom "Kona" chips.