pinctrl: imx8mq: Don't depend on SOC_IMX8MQ

Message ID 20181226162932.GA17882@bogon.m.sigxcpu.org
State New
Headers show
Series
  • pinctrl: imx8mq: Don't depend on SOC_IMX8MQ
Related show

Commit Message

Guido Günther Dec. 26, 2018, 4:29 p.m.
SOC_IMX8MQ does not exist. Use `ARCH_MXC && ARM64` as CLK_IMX8MQ does.
This seems to be a leftover from the SOC_IMX8MQ <-> ARCH_MXC rework.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
This is against linux-next 2018-12-24.

 drivers/pinctrl/freescale/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Abel Vesa Dec. 26, 2018, 4:49 p.m. | #1
On 18-12-26 17:29:32, Guido Günther wrote:
> SOC_IMX8MQ does not exist. Use `ARCH_MXC && ARM64` as CLK_IMX8MQ does.
> This seems to be a leftover from the SOC_IMX8MQ <-> ARCH_MXC rework.
> 

I already sent a patch for this.

https://lkml.org/lkml/2018/12/23/8

> Signed-off-by: Guido Günther <agx@sigxcpu.org>
> ---
> This is against linux-next 2018-12-24.
> 
>  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 d20ae4b7f996..72b869d888e2 100644
> --- a/drivers/pinctrl/freescale/Kconfig
> +++ b/drivers/pinctrl/freescale/Kconfig
> @@ -124,7 +124,7 @@ config PINCTRL_IMX7ULP
>  
>  config PINCTRL_IMX8MQ
>  	bool "IMX8MQ pinctrl driver"
> -	depends on SOC_IMX8MQ
> +	depends on ARCH_MXC && ARM64
>  	select PINCTRL_IMX
>  	help
>  	  Say Y here to enable the imx8mq pinctrl driver
> -- 
> 2.19.2

Patch

diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig
index d20ae4b7f996..72b869d888e2 100644
--- a/drivers/pinctrl/freescale/Kconfig
+++ b/drivers/pinctrl/freescale/Kconfig
@@ -124,7 +124,7 @@  config PINCTRL_IMX7ULP
 
 config PINCTRL_IMX8MQ
 	bool "IMX8MQ pinctrl driver"
-	depends on SOC_IMX8MQ
+	depends on ARCH_MXC && ARM64
 	select PINCTRL_IMX
 	help
 	  Say Y here to enable the imx8mq pinctrl driver