Commit befe8738 authored by Jerome Brunet's avatar Jerome Brunet

clk: meson: add missing MODULE_DESCRIPTION() macros

Add the missing MODULE_DESCRIPTION() in the Amlogic clock modules missing
it.
Reported-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
Closes: https://lore.kernel.org/linux-clk/964210f1-671f-4ecc-bdb7-3cf53089c327@quicinc.comReviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240611133512.341817-1-jbrunet@baylibre.comSigned-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
parent f34da560
...@@ -2240,8 +2240,9 @@ static struct platform_driver a1_periphs_clkc_driver = { ...@@ -2240,8 +2240,9 @@ static struct platform_driver a1_periphs_clkc_driver = {
.of_match_table = a1_periphs_clkc_match_table, .of_match_table = a1_periphs_clkc_match_table,
}, },
}; };
module_platform_driver(a1_periphs_clkc_driver); module_platform_driver(a1_periphs_clkc_driver);
MODULE_DESCRIPTION("Amlogic A1 Peripherals Clock Controller driver");
MODULE_AUTHOR("Jian Hu <jian.hu@amlogic.com>"); MODULE_AUTHOR("Jian Hu <jian.hu@amlogic.com>");
MODULE_AUTHOR("Dmitry Rokosov <ddrokosov@sberdevices.ru>"); MODULE_AUTHOR("Dmitry Rokosov <ddrokosov@sberdevices.ru>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -354,8 +354,9 @@ static struct platform_driver a1_pll_clkc_driver = { ...@@ -354,8 +354,9 @@ static struct platform_driver a1_pll_clkc_driver = {
.of_match_table = a1_pll_clkc_match_table, .of_match_table = a1_pll_clkc_match_table,
}, },
}; };
module_platform_driver(a1_pll_clkc_driver); module_platform_driver(a1_pll_clkc_driver);
MODULE_DESCRIPTION("Amlogic S4 PLL Clock Controller driver");
MODULE_AUTHOR("Jian Hu <jian.hu@amlogic.com>"); MODULE_AUTHOR("Jian Hu <jian.hu@amlogic.com>");
MODULE_AUTHOR("Dmitry Rokosov <ddrokosov@sberdevices.ru>"); MODULE_AUTHOR("Dmitry Rokosov <ddrokosov@sberdevices.ru>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -338,6 +338,7 @@ static struct platform_driver axg_aoclkc_driver = { ...@@ -338,6 +338,7 @@ static struct platform_driver axg_aoclkc_driver = {
.of_match_table = axg_aoclkc_match_table, .of_match_table = axg_aoclkc_match_table,
}, },
}; };
module_platform_driver(axg_aoclkc_driver); module_platform_driver(axg_aoclkc_driver);
MODULE_DESCRIPTION("Amlogic AXG Always-ON Clock Controller driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -2183,6 +2183,7 @@ static struct platform_driver axg_driver = { ...@@ -2183,6 +2183,7 @@ static struct platform_driver axg_driver = {
.of_match_table = clkc_match_table, .of_match_table = clkc_match_table,
}, },
}; };
module_platform_driver(axg_driver); module_platform_driver(axg_driver);
MODULE_DESCRIPTION("Amlogic AXG Main Clock Controller driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -2359,7 +2359,8 @@ static struct platform_driver c3_peripherals_driver = { ...@@ -2359,7 +2359,8 @@ static struct platform_driver c3_peripherals_driver = {
.of_match_table = c3_peripherals_clkc_match_table, .of_match_table = c3_peripherals_clkc_match_table,
}, },
}; };
module_platform_driver(c3_peripherals_driver); module_platform_driver(c3_peripherals_driver);
MODULE_DESCRIPTION("Amlogic C3 Peripherals Clock Controller driver");
MODULE_AUTHOR("Chuan Liu <chuan.liu@amlogic.com>"); MODULE_AUTHOR("Chuan Liu <chuan.liu@amlogic.com>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -740,7 +740,8 @@ static struct platform_driver c3_pll_driver = { ...@@ -740,7 +740,8 @@ static struct platform_driver c3_pll_driver = {
.of_match_table = c3_pll_clkc_match_table, .of_match_table = c3_pll_clkc_match_table,
}, },
}; };
module_platform_driver(c3_pll_driver); module_platform_driver(c3_pll_driver);
MODULE_DESCRIPTION("Amlogic C3 PLL Clock Controller driver");
MODULE_AUTHOR("Chuan Liu <chuan.liu@amlogic.com>"); MODULE_AUTHOR("Chuan Liu <chuan.liu@amlogic.com>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -473,6 +473,7 @@ static struct platform_driver g12a_aoclkc_driver = { ...@@ -473,6 +473,7 @@ static struct platform_driver g12a_aoclkc_driver = {
.of_match_table = g12a_aoclkc_match_table, .of_match_table = g12a_aoclkc_match_table,
}, },
}; };
module_platform_driver(g12a_aoclkc_driver); module_platform_driver(g12a_aoclkc_driver);
MODULE_DESCRIPTION("Amlogic G12A Always-ON Clock Controller driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -5612,6 +5612,7 @@ static struct platform_driver g12a_driver = { ...@@ -5612,6 +5612,7 @@ static struct platform_driver g12a_driver = {
.of_match_table = clkc_match_table, .of_match_table = clkc_match_table,
}, },
}; };
module_platform_driver(g12a_driver); module_platform_driver(g12a_driver);
MODULE_DESCRIPTION("Amlogic G12/SM1 Main Clock Controller driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -300,4 +300,6 @@ static struct platform_driver gxbb_aoclkc_driver = { ...@@ -300,4 +300,6 @@ static struct platform_driver gxbb_aoclkc_driver = {
}, },
}; };
module_platform_driver(gxbb_aoclkc_driver); module_platform_driver(gxbb_aoclkc_driver);
MODULE_DESCRIPTION("Amlogic GXBB Always-ON Clock Controller driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -3567,6 +3567,7 @@ static struct platform_driver gxbb_driver = { ...@@ -3567,6 +3567,7 @@ static struct platform_driver gxbb_driver = {
.of_match_table = clkc_match_table, .of_match_table = clkc_match_table,
}, },
}; };
module_platform_driver(gxbb_driver); module_platform_driver(gxbb_driver);
MODULE_DESCRIPTION("Amlogic GXBB Main Clock Controller driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -89,4 +89,6 @@ int meson_aoclkc_probe(struct platform_device *pdev) ...@@ -89,4 +89,6 @@ int meson_aoclkc_probe(struct platform_device *pdev)
return devm_of_clk_add_hw_provider(dev, meson_clk_hw_get, (void *)&data->hw_clks); return devm_of_clk_add_hw_provider(dev, meson_clk_hw_get, (void *)&data->hw_clks);
} }
EXPORT_SYMBOL_GPL(meson_aoclkc_probe); EXPORT_SYMBOL_GPL(meson_aoclkc_probe);
MODULE_DESCRIPTION("Amlogic Always-ON Clock Controller helpers");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -22,4 +22,5 @@ struct clk_hw *meson_clk_hw_get(struct of_phandle_args *clkspec, void *clk_hw_da ...@@ -22,4 +22,5 @@ struct clk_hw *meson_clk_hw_get(struct of_phandle_args *clkspec, void *clk_hw_da
} }
EXPORT_SYMBOL_GPL(meson_clk_hw_get); EXPORT_SYMBOL_GPL(meson_clk_hw_get);
MODULE_DESCRIPTION("Amlogic Clock Controller Utilities");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -58,4 +58,6 @@ int meson_eeclkc_probe(struct platform_device *pdev) ...@@ -58,4 +58,6 @@ int meson_eeclkc_probe(struct platform_device *pdev)
return devm_of_clk_add_hw_provider(dev, meson_clk_hw_get, (void *)&data->hw_clks); return devm_of_clk_add_hw_provider(dev, meson_clk_hw_get, (void *)&data->hw_clks);
} }
EXPORT_SYMBOL_GPL(meson_eeclkc_probe); EXPORT_SYMBOL_GPL(meson_eeclkc_probe);
MODULE_DESCRIPTION("Amlogic Main Clock Controller Helpers");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -3809,7 +3809,8 @@ static struct platform_driver s4_driver = { ...@@ -3809,7 +3809,8 @@ static struct platform_driver s4_driver = {
.of_match_table = clkc_match_table, .of_match_table = clkc_match_table,
}, },
}; };
module_platform_driver(s4_driver); module_platform_driver(s4_driver);
MODULE_DESCRIPTION("Amlogic S4 Peripherals Clock Controller driver");
MODULE_AUTHOR("Yu Tu <yu.tu@amlogic.com>"); MODULE_AUTHOR("Yu Tu <yu.tu@amlogic.com>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -868,7 +868,8 @@ static struct platform_driver s4_driver = { ...@@ -868,7 +868,8 @@ static struct platform_driver s4_driver = {
.of_match_table = clkc_match_table, .of_match_table = clkc_match_table,
}, },
}; };
module_platform_driver(s4_driver); module_platform_driver(s4_driver);
MODULE_DESCRIPTION("Amlogic S4 PLL Clock Controller driver");
MODULE_AUTHOR("Yu Tu <yu.tu@amlogic.com>"); MODULE_AUTHOR("Yu Tu <yu.tu@amlogic.com>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment