MLK-24337-4 clk: imx8mm: Support module build
Add module author, description and license to support module build. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Jacky Bai <ping.bai@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
0085d19b88
commit
f4303256b6
|
@ -9,7 +9,7 @@ config MXC_CLK_SCU
|
|||
depends on IMX_SCU
|
||||
|
||||
config CLK_IMX8MM
|
||||
bool "IMX8MM CCM Clock Driver"
|
||||
tristate "IMX8MM CCM Clock Driver"
|
||||
depends on ARCH_MXC && ARM64
|
||||
help
|
||||
Build the driver for i.MX8MM CCM Clock Driver
|
||||
|
|
|
@ -363,7 +363,7 @@ static const char *imx8mm_clko1_sels[] = {"osc_24m", "sys_pll1_800m", "osc_27m",
|
|||
static struct clk *clks[IMX8MM_CLK_END];
|
||||
static struct clk_onecell_data clk_data;
|
||||
|
||||
static int __init imx_clk_init_on(struct device_node *np,
|
||||
static int imx_clk_init_on(struct device_node *np,
|
||||
struct clk * const clks[])
|
||||
{
|
||||
u32 *array;
|
||||
|
@ -715,7 +715,11 @@ static struct platform_driver imx8mm_clk_driver = {
|
|||
},
|
||||
};
|
||||
module_platform_driver(imx8mm_clk_driver);
|
||||
MODULE_AUTHOR("Bai Ping <ping.bai@nxp.com>");
|
||||
MODULE_DESCRIPTION("NXP i.MX8MM clock driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
||||
#ifndef MODULE
|
||||
/*
|
||||
* Debugfs interface for audio PLL K divider change dynamically.
|
||||
* Monitor control for the Audio PLL K-Divider
|
||||
|
@ -793,3 +797,4 @@ static int __init pll_debug_init(void)
|
|||
}
|
||||
late_initcall(pll_debug_init);
|
||||
#endif /* CONFIG_DEBUG_FS */
|
||||
#endif /* MODULE */
|
||||
|
|
Loading…
Reference in New Issue