]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
pmdomain: amlogic: add missing MODULE_DESCRIPTION() macros
authorJeff Johnson <quic_jjohnson@quicinc.com>
Mon, 10 Jun 2024 23:13:55 +0000 (16:13 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 12 Jun 2024 15:10:49 +0000 (17:10 +0200)
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 <quic_jjohnson@quicinc.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240610-md-drivers-pmdomain-amlogic-v1-1-b49ddb1a8bdf@quicinc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/amlogic/meson-ee-pwrc.c
drivers/pmdomain/amlogic/meson-gx-pwrc-vpu.c
drivers/pmdomain/amlogic/meson-secure-pwrc.c

index fcec6eb610e4ae4c4996e44a0e9dd8147455f1c5..fbb2b41039305b03b970e000f06f3728686014a9 100644 (file)
@@ -648,4 +648,5 @@ static struct platform_driver meson_ee_pwrc_driver = {
        },
 };
 module_platform_driver(meson_ee_pwrc_driver);
+MODULE_DESCRIPTION("Amlogic Meson Everything-Else Power Domains driver");
 MODULE_LICENSE("GPL v2");
index 33df520eab95e8932c5cc2aa12ce1098136ffc2b..6028e91664a4b4304b07ea31a75f124a0ba274c5 100644 (file)
@@ -376,4 +376,5 @@ static struct platform_driver meson_gx_pwrc_vpu_driver = {
        },
 };
 module_platform_driver(meson_gx_pwrc_vpu_driver);
+MODULE_DESCRIPTION("Amlogic Meson GX Power Domains driver");
 MODULE_LICENSE("GPL v2");
index 3a84d8a74a5e2bcbd749a3833327550657edd2f5..df55674182263e02938b8e0470658b3b149a038e 100644 (file)
@@ -383,4 +383,5 @@ static struct platform_driver meson_secure_pwrc_driver = {
        },
 };
 module_platform_driver(meson_secure_pwrc_driver);
+MODULE_DESCRIPTION("Amlogic Meson Secure Power Domains driver");
 MODULE_LICENSE("Dual MIT/GPL");