diff mbox series

net-next: stmmac: dwmac-mediatek: add module license info

Message ID 1544668897-6947-1-git-send-email-biao.huang@mediatek.com (mailing list archive)
State New, archived
Headers show
Series net-next: stmmac: dwmac-mediatek: add module license info | expand

Commit Message

Biao Huang (黄彪) Dec. 13, 2018, 2:41 a.m. UTC
Add MODULE_LICENSE info to fix this:
WARNING: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.o

Signed-off-by: Biao Huang <biao.huang@mediatek.com>
---
 .../net/ethernet/stmicro/stmmac/dwmac-mediatek.c   |    5 +++++
 1 file changed, 5 insertions(+)

Comments

David Miller Dec. 13, 2018, 5:43 a.m. UTC | #1
From: Biao Huang <biao.huang@mediatek.com>
Date: Thu, 13 Dec 2018 10:41:37 +0800

> Add MODULE_LICENSE info to fix this:
> WARNING: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.o
> 
> Signed-off-by: Biao Huang <biao.huang@mediatek.com>

Applied, thanks for fixing this properly.
diff mbox series

Patch

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c
index b5db85d..e400cbd 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c
@@ -5,6 +5,7 @@ 
 #include <linux/bitfield.h>
 #include <linux/io.h>
 #include <linux/mfd/syscon.h>
+#include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_net.h>
@@ -406,3 +407,7 @@  static int mediatek_dwmac_probe(struct platform_device *pdev)
 	},
 };
 module_platform_driver(mediatek_dwmac_driver);
+
+MODULE_AUTHOR("Biao Huang <biao.huang@mediatek.com>");
+MODULE_DESCRIPTION("MediaTek DWMAC specific glue layer");
+MODULE_LICENSE("GPL v2");