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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202410031439.GyTSa0kX-lkp@xxxxxxxxx/
Closes: https://lore.kernel.org/oe-kbuild-all/202410030852.q0Hukplf-lkp@xxxxxxxxx/

Signed-off-by: Esben Haabendal <esben@xxxxxxxxxx>
---
 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@xxxxxxxxxx>





[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux