2024-05-17 19:19:11

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH] leds: rt4505: add MODULE_DESCRIPTION()

Fix the 'make W=1" issue:

WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/leds/flash/leds-rt4505.o

Signed-off-by: Jeff Johnson <[email protected]>
---
drivers/leds/flash/leds-rt4505.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/leds/flash/leds-rt4505.c b/drivers/leds/flash/leds-rt4505.c
index 1ae5b387f4a5..f16358b8dfc1 100644
--- a/drivers/leds/flash/leds-rt4505.c
+++ b/drivers/leds/flash/leds-rt4505.c
@@ -426,4 +426,5 @@ static struct i2c_driver rt4505_driver = {
module_i2c_driver(rt4505_driver);

MODULE_AUTHOR("ChiYuan Huang <[email protected]>");
+MODULE_DESCRIPTION("Richtek RT4505 LED driver");
MODULE_LICENSE("GPL v2");

---
base-commit: d75ca803d4950826f6a1227f9ece9eec44b2f360
change-id: 20240517-md-leds-rt4505-0ac84f30212c



2024-05-31 13:41:22

by Lee Jones

[permalink] [raw]
Subject: Re: (subset) [PATCH] leds: rt4505: add MODULE_DESCRIPTION()

On Fri, 17 May 2024 12:18:49 -0700, Jeff Johnson wrote:
> Fix the 'make W=1" issue:
>
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/leds/flash/leds-rt4505.o
>
>

Applied, thanks!

[1/1] leds: rt4505: add MODULE_DESCRIPTION()
commit: c6c4c4ac239baab0fbc4ec62683ced34ce044ce6

--
Lee Jones [李琼斯]