Commit 43d4b297 authored by Biao Huang's avatar Biao Huang Committed by David S. Miller

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: default avatarBiao Huang <biao.huang@mediatek.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c784a28b
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <linux/bitfield.h> #include <linux/bitfield.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/mfd/syscon.h> #include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/of_device.h> #include <linux/of_device.h>
#include <linux/of_net.h> #include <linux/of_net.h>
...@@ -406,3 +407,7 @@ static struct platform_driver mediatek_dwmac_driver = { ...@@ -406,3 +407,7 @@ static struct platform_driver mediatek_dwmac_driver = {
}, },
}; };
module_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");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment