[PATCH] hwrng: nomadik - add MODULE_DESCRIPTION
Martin Kaiser
martin at kaiser.cx
Thu Aug 24 12:56:58 PDT 2023
Add a MODULE_DESCRIPTION to fix the W=1 warning
WARNING: modpost: missing MODULE_DESCRIPTION() in
drivers/char/hw_random/nomadik-rng.o
Signed-off-by: Martin Kaiser <martin at kaiser.cx>
---
drivers/char/hw_random/nomadik-rng.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/hw_random/nomadik-rng.c b/drivers/char/hw_random/nomadik-rng.c
index 8c6a40d6ce3d..a2009fc4ad3c 100644
--- a/drivers/char/hw_random/nomadik-rng.c
+++ b/drivers/char/hw_random/nomadik-rng.c
@@ -88,4 +88,5 @@ static struct amba_driver nmk_rng_driver = {
module_amba_driver(nmk_rng_driver);
+MODULE_DESCRIPTION("ST-Ericsson Nomadik Random Number Generator");
MODULE_LICENSE("GPL");
--
2.39.2
More information about the linux-arm-kernel
mailing list