[PATCH] pinctrl: freescale: fix link errors

From: Arnd Bergmann
Date: Mon Mar 04 2019 - 15:26:54 EST


Submitted by Anders Roxell already

Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
---
drivers/pinctrl/freescale/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig
index e6dff3167a67..e447b996e79f 100644
--- a/drivers/pinctrl/freescale/Kconfig
+++ b/drivers/pinctrl/freescale/Kconfig
@@ -138,14 +138,14 @@ config PINCTRL_IMX8MQ

config PINCTRL_IMX8QM
bool "IMX8QM pinctrl driver"
- depends on ARCH_MXC && ARM64
+ depends on ARCH_MXC && ARM64 && IMX_SCU
select PINCTRL_IMX_SCU
help
Say Y here to enable the imx8qm pinctrl driver

config PINCTRL_IMX8QXP
bool "IMX8QXP pinctrl driver"
- depends on ARCH_MXC && ARM64
+ depends on ARCH_MXC && ARM64 && IMX_SCU
select PINCTRL_IMX_SCU
help
Say Y here to enable the imx8qxp pinctrl driver
--
2.20.0