Skip to content

Commit 43d4b29

Browse files
Biao Huangdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent c784a28 commit 43d4b29

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <linux/bitfield.h>
66
#include <linux/io.h>
77
#include <linux/mfd/syscon.h>
8+
#include <linux/module.h>
89
#include <linux/of.h>
910
#include <linux/of_device.h>
1011
#include <linux/of_net.h>
@@ -406,3 +407,7 @@ static struct platform_driver mediatek_dwmac_driver = {
406407
},
407408
};
408409
module_platform_driver(mediatek_dwmac_driver);
410+
411+
MODULE_AUTHOR("Biao Huang <[email protected]>");
412+
MODULE_DESCRIPTION("MediaTek DWMAC specific glue layer");
413+
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)