Skip to content

Commit 5919d93

Browse files
jeff-t-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 <quic_jjohnson@quicinc.com> Link: https://lore.kernel.org/r/20240609-md-drivers-spmi-v1-1-f1d5b24e7a66@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent ab11dac commit 5919d93

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

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)