Skip to content

Commit 5919d93

Browse files
Jeff Johnsongregkh
authored andcommitted
spmi: add missing MODULE_DESCRIPTION() macros
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/spmi/hisi-spmi-controller.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/spmi/spmi-pmic-arb.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ab11dac commit 5919d93

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/spmi/hisi-spmi-controller.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ static void __exit spmi_controller_exit(void)
344344
}
345345
module_exit(spmi_controller_exit);
346346

347+
MODULE_DESCRIPTION("Hisilicon 3670 SPMI Controller driver");
347348
MODULE_LICENSE("GPL v2");
348349
MODULE_VERSION("1.0");
349350
MODULE_ALIAS("platform:spmi_controller");

drivers/spmi/spmi-pmic-arb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1891,5 +1891,6 @@ static struct platform_driver spmi_pmic_arb_driver = {
18911891
};
18921892
module_platform_driver(spmi_pmic_arb_driver);
18931893

1894+
MODULE_DESCRIPTION("Qualcomm MSM SPMI Controller (PMIC Arbiter) driver");
18941895
MODULE_LICENSE("GPL v2");
18951896
MODULE_ALIAS("platform:spmi_pmic_arb");

0 commit comments

Comments
 (0)