[PATCH V3 06/10] clk: imx8mm: Support module build
From: Anson Huang
Date: Mon Jun 29 2020 - 15:04:51 EST
Support building i.MX8MM clock driver as module.
Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx>
---
No change.
---
drivers/clk/imx/Kconfig | 2 +-
drivers/clk/imx/clk-imx8mm.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index 678113b..97d86a3 100644
--- a/drivers/clk/imx/Kconfig
+++ b/drivers/clk/imx/Kconfig
@@ -9,7 +9,7 @@ config MXC_CLK_SCU
depends on ARCH_MXC && IMX_SCU
config CLK_IMX8MM
- bool "IMX8MM CCM Clock Driver"
+ tristate "IMX8MM CCM Clock Driver"
depends on ARCH_MXC
select MXC_CLK
help
diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c
index b793264..1e8242d 100644
--- a/drivers/clk/imx/clk-imx8mm.c
+++ b/drivers/clk/imx/clk-imx8mm.c
@@ -657,3 +657,4 @@ static struct platform_driver imx8mm_clk_driver = {
},
};
module_platform_driver(imx8mm_clk_driver);
+MODULE_LICENSE("GPL v2");
--
2.7.4