]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pinctrl: freescale: Depend imx-scu driver on OF
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Wed, 14 May 2025 13:13:39 +0000 (15:13 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 20 May 2025 21:39:52 +0000 (23:39 +0200)
Although the driver itself does not depend on OF itself, it selects
PINCTRL_IMX which depends on OF. So only select PINCTRL_IMX if OF is
already selected to ensure dependencies are met.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/20250514131342.755840-1-alexander.stein@ew.tq-group.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/Kconfig

index 4c420b21b804d106ea7dbd1d3b98e3103772dc92..d1610e2f214273a0180bafd09258307924d4c432 100644 (file)
@@ -20,6 +20,7 @@ config PINCTRL_IMX_SCMI
 
 config PINCTRL_IMX_SCU
        tristate
+       depends on OF
        depends on IMX_SCU || COMPILE_TEST
        select PINCTRL_IMX