pinctrl: imx: Support building i.MX pinctrl core driver as module
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 8 Sep 2020 08:12:01 +0000 (16:12 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 29 Sep 2020 11:44:36 +0000 (13:44 +0200)
commit7233f7cf4b025ce3bddf9ae34cab45fba74c9ea0
treec14b08470b80ad98daaa1cc39b34b60ca7e46f89
parent0080c5342826ad2b0df7e8804f94dd65836ecff6
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>
drivers/pinctrl/freescale/Kconfig
drivers/pinctrl/freescale/pinctrl-imx.c