aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hip04_eth.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-01-30 22:57:01 +0100
committerDavid S. Miller <davem@davemloft.net>2015-02-02 18:51:03 -0800
commit4c0c46be90b0316a75a6d0c44bf3f62152c6963f (patch)
tree6b356dbdc5820839c4f904d8be754852e1050c68 /drivers/net/ethernet/hisilicon/hip04_eth.c
parentnet: dctcp: loosen requirement to assert ECT(0) during 3WHS (diff)
downloadlinux-dev-4c0c46be90b0316a75a6d0c44bf3f62152c6963f.tar.xz
linux-dev-4c0c46be90b0316a75a6d0c44bf3f62152c6963f.zip
net: hip04: add missing MODULE_LICENSE
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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hip04_eth.c')
-rw-r--r--drivers/net/ethernet/hisilicon/hip04_eth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hip04_eth.c b/drivers/net/ethernet/hisilicon/hip04_eth.c
index c02b81bcfffb..b72d238695d7 100644
--- a/drivers/net/ethernet/hisilicon/hip04_eth.c
+++ b/drivers/net/ethernet/hisilicon/hip04_eth.c
@@ -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");