summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnson <quic_jjohnson@quicinc.com>2024-06-19 17:07:26 +0300
committerAndreas Larsson <andreas@gaisler.com>2024-07-11 16:42:03 +0300
commite51f125b10332914ea4440252abcb3688ca1af59 (patch)
tree7ce50c578cdb05b2ed2b11b4149881f3d12ff26a
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
downloadlinux-e51f125b10332914ea4440252abcb3688ca1af59.tar.xz
sbus: add missing MODULE_DESCRIPTION() macros
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> Reviewed-by: Andreas Larsson <andreas@gaisler.com> Link: https://lore.kernel.org/r/20240619-md-sparc-drivers-sbus-char-v1-1-85acadb8f789@quicinc.com Signed-off-by: Andreas Larsson <andreas@gaisler.com>
-rw-r--r--drivers/sbus/char/bbc_i2c.c1
-rw-r--r--drivers/sbus/char/envctrl.c1
-rw-r--r--drivers/sbus/char/flash.c1
-rw-r--r--drivers/sbus/char/uctrl.c1
4 files changed, 4 insertions, 0 deletions
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");