Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: imx: Support building SCU pinctrl core driver as module

Change PINCTR_IMX_SCU to tristate, add module author, description
and license to support building SCU pinctrl core driver as module.

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-2-git-send-email-Anson.Huang@nxp.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Anson Huang and committed by
Linus Walleij
0080c534 07ae3f07

+6 -1
+1 -1
drivers/pinctrl/freescale/Kconfig
··· 7 7 select REGMAP 8 8 9 9 config PINCTRL_IMX_SCU 10 - bool 10 + tristate 11 11 depends on IMX_SCU 12 12 select PINCTRL_IMX 13 13
+5
drivers/pinctrl/freescale/pinctrl-scu.c
··· 7 7 8 8 #include <linux/err.h> 9 9 #include <linux/firmware/imx/sci.h> 10 + #include <linux/module.h> 10 11 #include <linux/of_address.h> 11 12 #include <linux/pinctrl/pinctrl.h> 12 13 #include <linux/platform_device.h> ··· 124 123 pin_scu->mux_mode, pin_scu->config); 125 124 } 126 125 EXPORT_SYMBOL_GPL(imx_pinctrl_parse_pin_scu); 126 + 127 + MODULE_AUTHOR("Dong Aisheng <aisheng.dong@nxp.com>"); 128 + MODULE_DESCRIPTION("NXP i.MX SCU common pinctrl driver"); 129 + MODULE_LICENSE("GPL v2");