soc: imx8m: Add MODULE_LICENSE
PATCH 5/6 soc: imx8m: Add MODULE_LICENSE
Add MODULE_LICENSE to support building as module.
Signed-off-by Jindong Yue <[email protected]>
--- drivers/soc/imx/soc-imx8m.c | 1 + 1 file changed, 1 insertion(+)
drivers/soc/imx/soc-imx8m.c +1 -0
@@ -242,3 +242,4 @@ static int __init imx8_soc_init(void)return ret; }device_initcall (imx8_soc_init); +MODULE_LICENSE ("GPL" );
Signature · 1 line
2.36.0
PATCH 6/6 soc: imx8m: Support building imx8m soc driver as module
Make the imx8m soc driver as tristate so that it can be built as loadable module, module names are:
soc-imx8m.ko, imx8m-blk-ctrl.ko and imx8mp-blk-ctrl.ko
Signed-off-by Jindong Yue <[email protected]>
--- drivers/soc/imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/imx/Kconfig +1 -1
@@ -10,7 +10,7 @@ config IMX_GPCV2_PM_DOMAINS default y if SOC_IMX7D config SOC_IMX8M - bool "i.MX8M SoC family support" + tristate "i.MX8M SoC family support" depends on ARCH_MXC || COMPILE_TEST default ARCH_MXC && ARM64 select SOC_BUS
Signature · 1 line
2.36.0