Skip to content

Commit cc647e9

Browse files
Jeff Johnsonstorulf
authored andcommitted
pmdomain: amlogic: add missing MODULE_DESCRIPTION() macros
On x86, make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pmdomain/amlogic/meson-gx-pwrc-vpu.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pmdomain/amlogic/meson-ee-pwrc.o Add the missing invocation of the MODULE_DESCRIPTION() macro to all files which have a MODULE_LICENSE(). This includes meson-secure-pwrc.c which, although it did not produce a warning with the x86 allmodconfig configuration, may cause this warning with other configurations where CONFIG_MESON_SM is enabled. Signed-off-by: Jeff Johnson <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/20240610-md-drivers-pmdomain-amlogic-v1-1-b49ddb1a8bdf@quicinc.com Signed-off-by: Ulf Hansson <[email protected]>
1 parent e5cddc3 commit cc647e9

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

drivers/pmdomain/amlogic/meson-ee-pwrc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,4 +648,5 @@ static struct platform_driver meson_ee_pwrc_driver = {
648648
},
649649
};
650650
module_platform_driver(meson_ee_pwrc_driver);
651+
MODULE_DESCRIPTION("Amlogic Meson Everything-Else Power Domains driver");
651652
MODULE_LICENSE("GPL v2");

drivers/pmdomain/amlogic/meson-gx-pwrc-vpu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,4 +376,5 @@ static struct platform_driver meson_gx_pwrc_vpu_driver = {
376376
},
377377
};
378378
module_platform_driver(meson_gx_pwrc_vpu_driver);
379+
MODULE_DESCRIPTION("Amlogic Meson GX Power Domains driver");
379380
MODULE_LICENSE("GPL v2");

drivers/pmdomain/amlogic/meson-secure-pwrc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,4 +383,5 @@ static struct platform_driver meson_secure_pwrc_driver = {
383383
},
384384
};
385385
module_platform_driver(meson_secure_pwrc_driver);
386+
MODULE_DESCRIPTION("Amlogic Meson Secure Power Domains driver");
386387
MODULE_LICENSE("Dual MIT/GPL");

0 commit comments

Comments
 (0)