]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
pinctrl: freescale: fix COMPILE_TEST error with PINCTRL_IMX_SCU
authorEsben Haabendal <esben@geanix.com>
Thu, 3 Oct 2024 09:23:09 +0000 (11:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:54:45 +0000 (19:54 +0100)
[ Upstream commit 58414a31c5713afb5449fd74a26a843d34cc62e8 ]

When PINCTRL_IMX_SCU was selected by PINCTRL_IMX8DXL or PINCTRL_IMX8QM
combined with COMPILE_TEST on a non-arm platforms, the IMX_SCU
dependency could not be enabled.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202410031439.GyTSa0kX-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202410030852.q0Hukplf-lkp@intel.com/
Signed-off-by: Esben Haabendal <esben@geanix.com>
Link: https://lore.kernel.org/20241003-imx-pinctrl-compile-test-fix-v1-1-145ca1948cc3@geanix.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/freescale/Kconfig

index 7a32f77792d9a5236b0647a2716953422620e1d4..86110fc3c14650acba7df5c8a773d4ccbc16d169 100644 (file)
@@ -9,7 +9,7 @@ config PINCTRL_IMX
 
 config PINCTRL_IMX_SCU
        tristate
-       depends on IMX_SCU
+       depends on IMX_SCU || COMPILE_TEST
        select PINCTRL_IMX
 
 config PINCTRL_IMX1_CORE