diff options
author | Francesco Dolcini <francesco.dolcini@toradex.com> | 2022-09-06 01:44:08 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-09-08 11:06:57 +0300 |
commit | 71e268e3426d2a1a4fcf3d88079d1d977fd034e0 (patch) | |
tree | c0b5d2c8ff061c37f6e935a775856d798bd13e52 /drivers/pinctrl/freescale | |
parent | 63e23304488f25f7193d5868b6cef02cf3a05e66 (diff) | |
download | linux-71e268e3426d2a1a4fcf3d88079d1d977fd034e0.tar.xz |
pinctrl: imx8m: kconfig: Fix build error on test compile
PINCTRL_IMX depends on OF, however the dependency is missed when selected
by PINCTRL_IMX8M* (it does not follow the indirect 'select' statements),
select it explicitly.
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/all/202209050605.fezJUgFH-lkp@intel.com/
Fixes: 87c2a29a6bf1 ("pinctrl: imx8m: kconfig: Depends on SOC_IMX8M")
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Link: https://lore.kernel.org/r/20220905224408.346425-1-francesco.dolcini@toradex.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/freescale')
-rw-r--r-- | drivers/pinctrl/freescale/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig index 365fcff8e470..7a32f77792d9 100644 --- a/drivers/pinctrl/freescale/Kconfig +++ b/drivers/pinctrl/freescale/Kconfig @@ -119,6 +119,7 @@ config PINCTRL_IMX7ULP config PINCTRL_IMX8MM tristate "IMX8MM pinctrl driver" + depends on OF depends on SOC_IMX8M select PINCTRL_IMX help @@ -126,6 +127,7 @@ config PINCTRL_IMX8MM config PINCTRL_IMX8MN tristate "IMX8MN pinctrl driver" + depends on OF depends on SOC_IMX8M select PINCTRL_IMX help @@ -133,6 +135,7 @@ config PINCTRL_IMX8MN config PINCTRL_IMX8MP tristate "IMX8MP pinctrl driver" + depends on OF depends on SOC_IMX8M select PINCTRL_IMX help @@ -140,6 +143,7 @@ config PINCTRL_IMX8MP config PINCTRL_IMX8MQ tristate "IMX8MQ pinctrl driver" + depends on OF depends on SOC_IMX8M select PINCTRL_IMX help |