[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240609-md-drivers-spmi-v1-1-f1d5b24e7a66@quicinc.com>
Date: Sun, 9 Jun 2024 17:40:17 -0700
From: Jeff Johnson <quic_jjohnson@...cinc.com>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Stephen Boyd
<sboyd@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <kernel-janitors@...r.kernel.org>,
"Jeff
Johnson" <quic_jjohnson@...cinc.com>
Subject: [PATCH] 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@...cinc.com>
---
drivers/spmi/hisi-spmi-controller.c | 1 +
drivers/spmi/spmi-pmic-arb.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/spmi/hisi-spmi-controller.c b/drivers/spmi/hisi-spmi-controller.c
index fa068b34b040..3cafdf22c909 100644
--- a/drivers/spmi/hisi-spmi-controller.c
+++ b/drivers/spmi/hisi-spmi-controller.c
@@ -344,6 +344,7 @@ static void __exit spmi_controller_exit(void)
}
module_exit(spmi_controller_exit);
+MODULE_DESCRIPTION("Hisilicon 3670 SPMI Controller driver");
MODULE_LICENSE("GPL v2");
MODULE_VERSION("1.0");
MODULE_ALIAS("platform:spmi_controller");
diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c
index 791cdc160c51..f240fcc5a4e1 100644
--- a/drivers/spmi/spmi-pmic-arb.c
+++ b/drivers/spmi/spmi-pmic-arb.c
@@ -1891,5 +1891,6 @@ static struct platform_driver spmi_pmic_arb_driver = {
};
module_platform_driver(spmi_pmic_arb_driver);
+MODULE_DESCRIPTION("Qualcomm MSM SPMI Controller (PMIC Arbiter) driver");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:spmi_pmic_arb");
---
base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670
change-id: 20240609-md-drivers-spmi-51a13baa2301
Powered by blists - more mailing lists