diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-09-08 16:12:01 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-09-29 13:44:36 +0200 |
commit | 7233f7cf4b025ce3bddf9ae34cab45fba74c9ea0 (patch) | |
tree | c14b08470b80ad98daaa1cc39b34b60ca7e46f89 /drivers/pinctrl/freescale/Kconfig | |
parent | 0080c5342826ad2b0df7e8804f94dd65836ecff6 (diff) | |
download | linux-7233f7cf4b025ce3bddf9ae34cab45fba74c9ea0.tar.bz2 |
pinctrl: imx: Support building i.MX pinctrl core driver as module
Change PINCTRL_IMX to tristate to support loadable module build.
And i.MX common pinctrl driver should depend on CONFIG_OF to make sure
no build error when i.MX common pinctrl driver is enabled for different
architectures without CONFIG_OF.
Also add module author, description and license.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Link: https://lore.kernel.org/r/1599552721-24872-3-git-send-email-Anson.Huang@nxp.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/freescale/Kconfig')
-rw-r--r-- | drivers/pinctrl/freescale/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig index 71989162c4bc..a1fbb3b9ae34 100644 --- a/drivers/pinctrl/freescale/Kconfig +++ b/drivers/pinctrl/freescale/Kconfig @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config PINCTRL_IMX - bool + tristate + depends on OF select GENERIC_PINCTRL_GROUPS select GENERIC_PINMUX_FUNCTIONS select GENERIC_PINCONF |