summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBiao Huang <biao.huang@mediatek.com>2018-12-13 10:41:37 +0800
committerDavid S. Miller <davem@davemloft.net>2018-12-12 21:42:55 -0800
commit43d4b2971810edded68098b996e917ed768d3dbb (patch)
tree06c74ee137e5add18a220f1eacc3521f630e8836 /drivers
parentc784a28b025a22f8c791e14096fb7079236739c0 (diff)
net-next: stmmac: dwmac-mediatek: add module license info
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c
index b5db85d298e7..e400cbdc3419 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 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");