Skip to content

Commit befe873

Browse files
committed
clk: meson: add missing MODULE_DESCRIPTION() macros
Add the missing MODULE_DESCRIPTION() in the Amlogic clock modules missing it. Reported-by: Jeff Johnson <[email protected]> Closes: https://lore.kernel.org/linux-clk/[email protected] Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jerome Brunet <[email protected]>
1 parent f34da56 commit befe873

15 files changed

+29
-11
lines changed

drivers/clk/meson/a1-peripherals.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2240,8 +2240,9 @@ static struct platform_driver a1_periphs_clkc_driver = {
22402240
.of_match_table = a1_periphs_clkc_match_table,
22412241
},
22422242
};
2243-
22442243
module_platform_driver(a1_periphs_clkc_driver);
2244+
2245+
MODULE_DESCRIPTION("Amlogic A1 Peripherals Clock Controller driver");
22452246
MODULE_AUTHOR("Jian Hu <[email protected]>");
22462247
MODULE_AUTHOR("Dmitry Rokosov <[email protected]>");
22472248
MODULE_LICENSE("GPL");

drivers/clk/meson/a1-pll.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,9 @@ static struct platform_driver a1_pll_clkc_driver = {
354354
.of_match_table = a1_pll_clkc_match_table,
355355
},
356356
};
357-
358357
module_platform_driver(a1_pll_clkc_driver);
358+
359+
MODULE_DESCRIPTION("Amlogic S4 PLL Clock Controller driver");
359360
MODULE_AUTHOR("Jian Hu <[email protected]>");
360361
MODULE_AUTHOR("Dmitry Rokosov <[email protected]>");
361362
MODULE_LICENSE("GPL");

drivers/clk/meson/axg-aoclk.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ static struct platform_driver axg_aoclkc_driver = {
338338
.of_match_table = axg_aoclkc_match_table,
339339
},
340340
};
341-
342341
module_platform_driver(axg_aoclkc_driver);
342+
343+
MODULE_DESCRIPTION("Amlogic AXG Always-ON Clock Controller driver");
343344
MODULE_LICENSE("GPL");

drivers/clk/meson/axg.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2183,6 +2183,7 @@ static struct platform_driver axg_driver = {
21832183
.of_match_table = clkc_match_table,
21842184
},
21852185
};
2186-
21872186
module_platform_driver(axg_driver);
2187+
2188+
MODULE_DESCRIPTION("Amlogic AXG Main Clock Controller driver");
21882189
MODULE_LICENSE("GPL");

drivers/clk/meson/c3-peripherals.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2359,7 +2359,8 @@ static struct platform_driver c3_peripherals_driver = {
23592359
.of_match_table = c3_peripherals_clkc_match_table,
23602360
},
23612361
};
2362-
23632362
module_platform_driver(c3_peripherals_driver);
2363+
2364+
MODULE_DESCRIPTION("Amlogic C3 Peripherals Clock Controller driver");
23642365
MODULE_AUTHOR("Chuan Liu <[email protected]>");
23652366
MODULE_LICENSE("GPL");

drivers/clk/meson/c3-pll.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,8 @@ static struct platform_driver c3_pll_driver = {
740740
.of_match_table = c3_pll_clkc_match_table,
741741
},
742742
};
743-
744743
module_platform_driver(c3_pll_driver);
744+
745+
MODULE_DESCRIPTION("Amlogic C3 PLL Clock Controller driver");
745746
MODULE_AUTHOR("Chuan Liu <[email protected]>");
746747
MODULE_LICENSE("GPL");

drivers/clk/meson/g12a-aoclk.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ static struct platform_driver g12a_aoclkc_driver = {
473473
.of_match_table = g12a_aoclkc_match_table,
474474
},
475475
};
476-
477476
module_platform_driver(g12a_aoclkc_driver);
477+
478+
MODULE_DESCRIPTION("Amlogic G12A Always-ON Clock Controller driver");
478479
MODULE_LICENSE("GPL");

drivers/clk/meson/g12a.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5612,6 +5612,7 @@ static struct platform_driver g12a_driver = {
56125612
.of_match_table = clkc_match_table,
56135613
},
56145614
};
5615-
56165615
module_platform_driver(g12a_driver);
5616+
5617+
MODULE_DESCRIPTION("Amlogic G12/SM1 Main Clock Controller driver");
56175618
MODULE_LICENSE("GPL");

drivers/clk/meson/gxbb-aoclk.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,4 +300,6 @@ static struct platform_driver gxbb_aoclkc_driver = {
300300
},
301301
};
302302
module_platform_driver(gxbb_aoclkc_driver);
303+
304+
MODULE_DESCRIPTION("Amlogic GXBB Always-ON Clock Controller driver");
303305
MODULE_LICENSE("GPL");

drivers/clk/meson/gxbb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3567,6 +3567,7 @@ static struct platform_driver gxbb_driver = {
35673567
.of_match_table = clkc_match_table,
35683568
},
35693569
};
3570-
35713570
module_platform_driver(gxbb_driver);
3571+
3572+
MODULE_DESCRIPTION("Amlogic GXBB Main Clock Controller driver");
35723573
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)