diff mbox series

hwrng: st - add MODULE_DESCRIPTION

Message ID 20230824195740.1582088-1-martin@kaiser.cx (mailing list archive)
State New, archived
Headers show
Series hwrng: st - add MODULE_DESCRIPTION | expand

Commit Message

Martin Kaiser Aug. 24, 2023, 7:57 p.m. UTC
Add a MODULE_DESCRIPTION to fix the W=1 warning

WARNING: modpost: missing MODULE_DESCRIPTION() in
drivers/char/hw_random/st-rng.o

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
 drivers/char/hw_random/st-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:57:40PM +0200, Martin Kaiser wrote:
> Add a MODULE_DESCRIPTION to fix the W=1 warning
> 
> WARNING: modpost: missing MODULE_DESCRIPTION() in
> drivers/char/hw_random/st-rng.o
> 
> Signed-off-by: Martin Kaiser <martin@kaiser.cx>
> ---
>  drivers/char/hw_random/st-rng.c | 1 +
>  1 file changed, 1 insertion(+)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/drivers/char/hw_random/st-rng.c b/drivers/char/hw_random/st-rng.c
index 6e9dfac9fc9f..23749817d83c 100644
--- a/drivers/char/hw_random/st-rng.c
+++ b/drivers/char/hw_random/st-rng.c
@@ -121,4 +121,5 @@  static struct platform_driver st_rng_driver = {
 module_platform_driver(st_rng_driver);
 
 MODULE_AUTHOR("Pankaj Dev <pankaj.dev@st.com>");
+MODULE_DESCRIPTION("ST Microelectronics HW Random Number Generator");
 MODULE_LICENSE("GPL v2");