linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] net/dsa/realtek: add MODULE_LICENSE()
@ 2018-07-20 16:16 Randy Dunlap
  2018-07-20 20:23 ` Linus Walleij
  2018-07-22 17:26 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2018-07-20 16:16 UTC (permalink / raw)
  To: netdev, David Miller; +Cc: LKML, Linus Walleij

From: Randy Dunlap <rdunlap@infradead.org>

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>
---
 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");



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-22 17:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-20 16:16 [PATCH -next] net/dsa/realtek: add MODULE_LICENSE() Randy Dunlap
2018-07-20 20:23 ` Linus Walleij
2018-07-22 17:26 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).