]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
pinctrl: cix: Fix obscure dependency
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Nov 2025 14:35:16 +0000 (15:35 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 25 Nov 2025 13:26:07 +0000 (14:26 +0100)
When compile-testing for UM-Linux the build fails because
we don't have IOMEM.

Add an explicit dependency.

Fixes: 920500c5fe66 ("pinctrl: cix: Add pin-controller support for sky1")
Reviewed-by: Peter Chen <peter.chen@cixtech.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/cix/Kconfig

index 455120dd731892cb25aa38151bc675c27bba723e..1529b1af63886b385448fee38fa09d887379cdcd 100644 (file)
@@ -9,6 +9,7 @@ config PINCTRL_SKY1_BASE
 config PINCTRL_SKY1
        tristate "Cix Sky1 pinctrl driver"
        depends on ARCH_CIX || COMPILE_TEST
+       depends on HAS_IOMEM
        select PINCTRL_SKY1_BASE
        help
          Say Y here to enable the sky1 pinctrl driver