]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pinctrl: stm32: fix HDP driver dependency on GPIO_GENERIC
authorAmelie Delaunay <amelie.delaunay@foss.st.com>
Tue, 17 Mar 2026 10:06:54 +0000 (11:06 +0100)
committerLinus Walleij <linusw@kernel.org>
Thu, 19 Mar 2026 15:44:45 +0000 (16:44 +0100)
The HDP driver uses the generic GPIO chip API, but this configuration
may not be enabled.
Ensure it is enabled by selecting the appropriate option.

Fixes: 4bcff9c05b9d ("pinctrl: stm32: use new generic GPIO chip API")
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/stm32/Kconfig

index 5f67e1ee66dd965395f2a4a48fab159d80a63636..d6a171523012169c4ade257fab3f67c2282e699f 100644 (file)
@@ -65,6 +65,7 @@ config PINCTRL_STM32_HDP
        select PINMUX
        select GENERIC_PINCONF
        select GPIOLIB
+       select GPIO_GENERIC
        help
          The Hardware Debug Port allows the observation of internal signals.
          It uses configurable multiplexer to route signals in a dedicated observation register.