[PATCH -next] net/dsa/realtek: add MODULE_LICENSE()

From: Randy Dunlap
Date: Fri Jul 20 2018 - 12:16:10 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Add MODULE_LICENSE() to net/dsa/realtek.o to fix build warning message.

WARNING: modpost: missing MODULE_LICENSE() in drivers/net/dsa/realtek.o

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
---
drivers/net/dsa/realtek-smi.c | 2 ++
1 file changed, 2 insertions(+)

--- linux-next-20180720.orig/drivers/net/dsa/realtek-smi.c
+++ linux-next-20180720/drivers/net/dsa/realtek-smi.c
@@ -485,3 +485,5 @@ static struct platform_driver realtek_sm
.remove = realtek_smi_remove,
};
module_platform_driver(realtek_smi_driver);
+
+MODULE_LICENSE("GPL");