diff mbox series

sbus: add missing MODULE_DESCRIPTION() macros

Message ID 20240619-md-sparc-drivers-sbus-char-v1-1-85acadb8f789@quicinc.com
State New
Headers show
Series sbus: add missing MODULE_DESCRIPTION() macros | expand

Commit Message

Jeff Johnson June 19, 2024, 2:07 p.m. UTC
With ARCH=sparc, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/sbus/char/envctrl.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/sbus/char/flash.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/sbus/char/uctrl.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/sbus/char/bbc.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 drivers/sbus/char/bbc_i2c.c | 1 +
 drivers/sbus/char/envctrl.c | 1 +
 drivers/sbus/char/flash.c   | 1 +
 drivers/sbus/char/uctrl.c   | 1 +
 4 files changed, 4 insertions(+)


---
base-commit: 6ba59ff4227927d3a8530fc2973b80e94b54d58f
change-id: 20240619-md-sparc-drivers-sbus-char-253de13ba713

Comments

Andreas Larsson July 11, 2024, 12:10 p.m. UTC | #1
On 2024-06-19 16:07, Jeff Johnson wrote:
> With ARCH=sparc, make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/sbus/char/envctrl.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/sbus/char/flash.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/sbus/char/uctrl.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/sbus/char/bbc.o
> 
> Add the missing invocations of the MODULE_DESCRIPTION() macro.
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
>  drivers/sbus/char/bbc_i2c.c | 1 +
>  drivers/sbus/char/envctrl.c | 1 +
>  drivers/sbus/char/flash.c   | 1 +
>  drivers/sbus/char/uctrl.c   | 1 +
>  4 files changed, 4 insertions(+)


Reviewed-by: Andreas Larsson <andreas@gaisler.com>

Picking this up to my for-next.

Thanks,
Andreas
diff mbox series

Patch

diff --git a/drivers/sbus/char/bbc_i2c.c b/drivers/sbus/char/bbc_i2c.c
index 3192dcb83b86..d7fcde692f46 100644
--- a/drivers/sbus/char/bbc_i2c.c
+++ b/drivers/sbus/char/bbc_i2c.c
@@ -418,4 +418,5 @@  static struct platform_driver bbc_i2c_driver = {
 
 module_platform_driver(bbc_i2c_driver);
 
+MODULE_DESCRIPTION("UltraSPARC-III bootbus i2c controller driver");
 MODULE_LICENSE("GPL");
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c
index 491cc6c0b3f9..b543e9bcc785 100644
--- a/drivers/sbus/char/envctrl.c
+++ b/drivers/sbus/char/envctrl.c
@@ -1130,4 +1130,5 @@  static struct platform_driver envctrl_driver = {
 
 module_platform_driver(envctrl_driver);
 
+MODULE_DESCRIPTION("SUN environment monitoring device driver");
 MODULE_LICENSE("GPL");
diff --git a/drivers/sbus/char/flash.c b/drivers/sbus/char/flash.c
index 05d37d31c3b8..ddd449dfda31 100644
--- a/drivers/sbus/char/flash.c
+++ b/drivers/sbus/char/flash.c
@@ -211,4 +211,5 @@  static struct platform_driver flash_driver = {
 
 module_platform_driver(flash_driver);
 
+MODULE_DESCRIPTION("OBP Flash Device driver");
 MODULE_LICENSE("GPL");
diff --git a/drivers/sbus/char/uctrl.c b/drivers/sbus/char/uctrl.c
index cf15a4186d03..3c88f29f4c47 100644
--- a/drivers/sbus/char/uctrl.c
+++ b/drivers/sbus/char/uctrl.c
@@ -431,4 +431,5 @@  static struct platform_driver uctrl_driver = {
 
 module_platform_driver(uctrl_driver);
 
+MODULE_DESCRIPTION("Tadpole TS102 Microcontroller driver");
 MODULE_LICENSE("GPL");