gpio: mpc8xxx: select GPIOLIB_IRQCHIP
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 19 May 2025 11:10:42 +0000 (13:10 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 20 May 2025 06:45:27 +0000 (08:45 +0200)
commit8da238b15cf5eb8a8dd318bd47e4d6050f5ca5d0
tree959a8db1f7b02a9b9c39457b24a100187793d75e
parente2d9a7ead8ffbf562c4f38d3115f98d1933e360a
gpio: mpc8xxx: 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: 7688a54d5b53 ("gpio: mpc8xxx: Make irq_chip immutable")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505180309.1nosQMkI-lkp@intel.com/
Acked-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20250519-gpio-irq-kconfig-fixes-v1-2-fe6ba1c6116d@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/Kconfig