[PATCH V2 8/9] clk: imx8mq: Support module build

From: Anson Huang
Date: Tue Jun 09 2020 - 03:43:43 EST


Support building i.MX8MQ clock driver as module.

Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx>
---
No change.
---
drivers/clk/imx/Kconfig | 2 +-
drivers/clk/imx/clk-imx8mq.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index 0811bed..060f9c3 100644
--- a/drivers/clk/imx/Kconfig
+++ b/drivers/clk/imx/Kconfig
@@ -30,7 +30,7 @@ config CLK_IMX8MP
Build the driver for i.MX8MP CCM Clock Driver

config CLK_IMX8MQ
- bool "IMX8MQ CCM Clock Driver"
+ tristate "IMX8MQ CCM Clock Driver"
depends on ARCH_MXC
select MXC_CLK
help
diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c
index a64aace..2861c31 100644
--- a/drivers/clk/imx/clk-imx8mq.c
+++ b/drivers/clk/imx/clk-imx8mq.c
@@ -643,3 +643,4 @@ static struct platform_driver imx8mq_clk_driver = {
},
};
module_platform_driver(imx8mq_clk_driver);
+MODULE_LICENSE("GPL v2");
--
2.7.4