OSDN Git Service

net/dsa/realtek: add MODULE_LICENSE()
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 20 Jul 2018 16:16:02 +0000 (09:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jul 2018 17:25:48 +0000 (10:25 -0700)
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@infradead.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/realtek-smi.c

index f941f45..b4b839a 100644 (file)
@@ -485,3 +485,5 @@ static struct platform_driver realtek_smi_driver = {
        .remove = realtek_smi_remove,
 };
 module_platform_driver(realtek_smi_driver);
+
+MODULE_LICENSE("GPL");