From: Biao Huang Date: Thu, 13 Dec 2018 02:41:37 +0000 (+0800) Subject: net-next: stmmac: dwmac-mediatek: add module license info X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=43d4b2971810edded68098b996e917ed768d3dbb;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- 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 #include #include +#include #include #include #include @@ -406,3 +407,7 @@ static struct platform_driver mediatek_dwmac_driver = { }, }; module_platform_driver(mediatek_dwmac_driver); + +MODULE_AUTHOR("Biao Huang "); +MODULE_DESCRIPTION("MediaTek DWMAC specific glue layer"); +MODULE_LICENSE("GPL v2");