Re: [PATCH] pinctrl: bm1880: add missing select GENERIC_PINCONF
From: Linus Walleij
Date: Sat Jul 25 2026 - 05:34:22 EST
On Mon, Jul 20, 2026 at 7:57 PM Benjamin Boortz <bennib@xxxxxxxxxxx> wrote:
> drivers/pinctrl/pinctrl-bm1880.c initialises its pinconf_ops with
> .is_generic = true, but that field is only present when
> CONFIG_GENERIC_PINCONF is enabled (guarded by #ifdef in pinconf.h).
> The Kconfig entry for PINCTRL_BM1880 never selects GENERIC_PINCONF,
> so any config that enables CONFIG_PINCTRL_BM1880=y without
> CONFIG_GENERIC_PINCONF=y fails to compile:
>
> drivers/pinctrl/pinctrl-bm1880.c:1288:10: error: 'const struct pinconf_ops' has no member named 'is_generic'
>
> Found by randconfig testing on arm64; tinyconfig reproducer below.
> Add the missing select to fix the build.
>
> Fixes: 49bd61ebce5f ("pinctrl: Add pinconf support for BM1880 SoC")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Benjamin Boortz <bennib@xxxxxxxxxxx>
Patch applied for fixes!
Yours,
Linus Walleij