[PATCH] soc: qcom: spm: add missing MODULE_DESCRIPTION()

Jeff Johnson posted 1 patch 1 year, 8 months ago
drivers/soc/qcom/spm.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] soc: qcom: spm: add missing MODULE_DESCRIPTION()
Posted by Jeff Johnson 1 year, 8 months ago
make allmodconfig && make W=1 C=1 warns:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/soc/qcom/spm.o

Add the missing MODULE_DESCRIPTION(), using the same description as
the underlying QCOM_SPM Kconfig item.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 drivers/soc/qcom/spm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/qcom/spm.c b/drivers/soc/qcom/spm.c
index 06e2c4c2a4a8..f75659fff287 100644
--- a/drivers/soc/qcom/spm.c
+++ b/drivers/soc/qcom/spm.c
@@ -572,4 +572,5 @@ static int __init qcom_spm_init(void)
 }
 arch_initcall(qcom_spm_init);
 
+MODULE_DESCRIPTION("Qualcomm Subsystem Power Manager (SPM)");
 MODULE_LICENSE("GPL v2");

---
base-commit: 4a4be1ad3a6efea16c56615f31117590fd881358
change-id: 20240530-md-soc-qcom-spm-622d3ccca90d
Re: [PATCH] soc: qcom: spm: add missing MODULE_DESCRIPTION()
Posted by Bjorn Andersson 1 year, 8 months ago
On Mon, 03 Jun 2024 17:09:34 -0700, Jeff Johnson wrote:
> make allmodconfig && make W=1 C=1 warns:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/soc/qcom/spm.o
> 
> Add the missing MODULE_DESCRIPTION(), using the same description as
> the underlying QCOM_SPM Kconfig item.
> 
> 
> [...]

Applied, thanks!

[1/1] soc: qcom: spm: add missing MODULE_DESCRIPTION()
      commit: 1b503fa221d144fbb11e2591378429566564a6b8

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>
Re: [PATCH] soc: qcom: spm: add missing MODULE_DESCRIPTION()
Posted by Dmitry Baryshkov 1 year, 8 months ago
On Mon, Jun 03, 2024 at 05:09:34PM -0700, Jeff Johnson wrote:
> make allmodconfig && make W=1 C=1 warns:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/soc/qcom/spm.o
> 
> Add the missing MODULE_DESCRIPTION(), using the same description as
> the underlying QCOM_SPM Kconfig item.
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
>  drivers/soc/qcom/spm.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

-- 
With best wishes
Dmitry