net: hip04: add missing MODULE_LICENSE
authorArnd Bergmann <arnd@arndb.de>
Fri, 30 Jan 2015 21:57:01 +0000 (22:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Feb 2015 02:51:03 +0000 (18:51 -0800)
The hip04 ethernet driver causes a new compile-time warning
when built as a loadable module:

WARNING: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/hisilicon/hip04_eth.o
see include/linux/module.h for more information

This adds the license as "GPL", which matches the header of the file.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hip04_eth.c

index c02b81bcfffbe8b6de91fcb53e94acb1f1b42882..b72d238695d73584e7527c3b31fa70f6f3ab0113 100644 (file)
@@ -968,3 +968,4 @@ static struct platform_driver hip04_mac_driver = {
 module_platform_driver(hip04_mac_driver);
 
 MODULE_DESCRIPTION("HISILICON P04 Ethernet driver");
+MODULE_LICENSE("GPL");