diff mbox series

pinctrl: freescale: fix COMPILE_TEST error with PINCTRL_IMX_SCU

Message ID 20241003-imx-pinctrl-compile-test-fix-v1-1-145ca1948cc3@geanix.com
State New
Headers show
Series pinctrl: freescale: fix COMPILE_TEST error with PINCTRL_IMX_SCU | expand

Commit Message

Esben Haabendal Oct. 3, 2024, 9:23 a.m. UTC
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(-)


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

Best regards,

Comments

Linus Walleij Oct. 3, 2024, 2:23 p.m. UTC | #1
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
diff mbox series

Patch

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