[PATCH] pinctrl: freescale: fix COMPILE_TEST error with PINCTRL_IMX_SCU

Esben Haabendal posted 1 patch 1 month, 3 weeks ago
drivers/pinctrl/freescale/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] pinctrl: freescale: fix COMPILE_TEST error with PINCTRL_IMX_SCU
Posted by Esben Haabendal 1 month, 3 weeks ago
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>
---
 drivers/pinctrl/freescale/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig
index 4486f4a210684b603c8fdf85be3f0cec695df86a..70acfbdd318b0d973c0930fd0f5233ca48842f9c 100644
--- a/drivers/pinctrl/freescale/Kconfig
+++ b/drivers/pinctrl/freescale/Kconfig
@@ -20,7 +20,7 @@ config PINCTRL_IMX_SCMI
 
 config PINCTRL_IMX_SCU
 	tristate
-	depends on IMX_SCU
+	depends on IMX_SCU || COMPILE_TEST
 	select PINCTRL_IMX
 
 config PINCTRL_IMX1_CORE

---
base-commit: c02d24a5af66a9806922391493205a344749f2c4
change-id: 20241003-imx-pinctrl-compile-test-fix-9a1bf1532519

Best regards,
-- 
Esben Haabendal <esben@geanix.com>
Re: [PATCH] pinctrl: freescale: fix COMPILE_TEST error with PINCTRL_IMX_SCU
Posted by Linus Walleij 1 month, 3 weeks ago
On Thu, Oct 3, 2024 at 11:23 AM Esben Haabendal <esben@geanix.com> wrote:

> 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>

Patch applied!

Let's see how much more the robots find! :D

Yours,
Linus Walleij