Skip to contentSkip to conversation

soc: imx8m: Add MODULE_LICENSE

PATCH Superseded Jindong Yue 1 participant 2 messages Feb 28, 2023 Arm i.MX and Layerscape

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 5/6 soc: imx8m: Add MODULE_LICENSE

Add MODULE_LICENSE to support building as module.

---
 drivers/soc/imx/soc-imx8m.c | 1 +
 1 file changed, 1 insertion(+)
drivers/soc/imx/soc-imx8m.c +1 -0
index 32ed9dc88e45..1dcd243df567 100644
@@ -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
#1 lore raw

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

---
 drivers/soc/imx/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/imx/Kconfig +1 -1
index 4b906791d6c7..cdfbefc6b306 100644
@@ -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