diff mbox series

net: cs89x0: add MODULE_LICENSE

Message ID 20180110163056.510181-1-arnd@arndb.de
State Accepted
Commit 6200b430220f3b9207861b16f57916950f4ecd8e
Headers show
Series net: cs89x0: add MODULE_LICENSE | expand

Commit Message

Arnd Bergmann Jan. 10, 2018, 4:30 p.m. UTC
This driver lacks a MODULE_LICENSE tag, leading to a Kbuild warning:

WARNING: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/cirrus/cs89x0.o

This adds license, author, and description according to the
comment block at the start of the file.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 drivers/net/ethernet/cirrus/cs89x0.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.9.0

Comments

David Miller Jan. 15, 2018, 6:27 p.m. UTC | #1
From: Arnd Bergmann <arnd@arndb.de>

Date: Wed, 10 Jan 2018 17:30:22 +0100

> This driver lacks a MODULE_LICENSE tag, leading to a Kbuild warning:

> 

> WARNING: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/cirrus/cs89x0.o

> 

> This adds license, author, and description according to the

> comment block at the start of the file.

> 

> Signed-off-by: Arnd Bergmann <arnd@arndb.de>


Applied, thanks Arnd.
diff mbox series

Patch

diff --git a/drivers/net/ethernet/cirrus/cs89x0.c b/drivers/net/ethernet/cirrus/cs89x0.c
index 410a0a95130b..b3e7fafee3df 100644
--- a/drivers/net/ethernet/cirrus/cs89x0.c
+++ b/drivers/net/ethernet/cirrus/cs89x0.c
@@ -1913,3 +1913,7 @@  static struct platform_driver cs89x0_driver = {
 module_platform_driver_probe(cs89x0_driver, cs89x0_platform_probe);
 
 #endif /* CONFIG_CS89x0_PLATFORM */
+
+MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("Crystal Semiconductor (Now Cirrus Logic) CS89[02]0 network driver");
+MODULE_AUTHOR("Russell Nelson <nelson@crynwr.com>");