net-next: stmmac: dwmac-mediatek: add module license info
authorBiao Huang <biao.huang@mediatek.com>
Thu, 13 Dec 2018 02:41:37 +0000 (10:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Dec 2018 05:42:55 +0000 (21:42 -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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c

index b5db85d298e7a2e1ed0c81912679a8ed61a1bef9..e400cbdc3419a7d0b93b8bd92356c6211ec9f13e 100644 (file)
@@ -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 struct platform_driver mediatek_dwmac_driver = {
        },
 };
 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");