diff mbox series

hwrng: nomadik - add MODULE_DESCRIPTION

Message ID 20230824195658.1582059-1-martin@kaiser.cx (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series hwrng: nomadik - add MODULE_DESCRIPTION | expand

Commit Message

Martin Kaiser Aug. 24, 2023, 7:56 p.m. UTC
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@kaiser.cx>
---
 drivers/char/hw_random/nomadik-rng.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Herbert Xu Sept. 15, 2023, 10:37 a.m. UTC | #1
On Thu, Aug 24, 2023 at 09:56:58PM +0200, Martin Kaiser wrote:
> 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@kaiser.cx>
> ---
>  drivers/char/hw_random/nomadik-rng.c | 1 +
>  1 file changed, 1 insertion(+)

Patch applied.  Thanks.
diff mbox series

Patch

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");