Re: [PATCH] drm: fix unmet dependencies from missing GPIOLIB
From: Arnd Bergmann
Date: Thu Jul 16 2026 - 02:24:20 EST
On Thu, Jul 16, 2026, at 05:34, Julian Braha wrote:
> These 4 options, PINCTRL_PIC32, PINCTRL_PIC32, PINCTRL_IPROC_GPIO, and
> PINCTRL_NSP_GPIO all select GPIOLIB_IRQCHIP without ensuring GPIOLIB is
> enabled, causing unmet dependencies, such as:
>
> WARNING: unmet direct dependencies detected for GPIOLIB_IRQCHIP
> Depends on [n]: GPIOLIB [=n]
> Selected by [y]:
> - PINCTRL_PIC32 [=y] && PINCTRL [=y] && OF [=y] && (MACH_PIC32 ||
> COMPILE_TEST [=y])
>
> Similar options in this subsystem select GPIOLIB, so let's do the same here.
>
> These unmet dependency bugs were found by kconfirm, a static analysis tool for
> Kconfig.
>
> Fixes: 2ba384e6c381 ("pinctrl: pinctrl-pic32: Add PIC32 pin control
> driver")
> Fixes: 1490d9f841b1 ("pinctrl: Add STMFX GPIO expander Pinctrl/GPIO
> driver")
> Fixes: b64333ce769c ("pinctrl: cygnus: add gpio/pinconf driver")
> Fixes: 8bfcbbbcabe0 ("pinctrl: nsp: add gpio-a driver support for
> Broadcom NSP SoC")
> Signed-off-by: Julian Braha <julianbraha@xxxxxxxxx>
The changes look fine, but the subject line is incorrectly
copied. With s/drm/pinctrl/,
Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>