lkml.org 
[lkml]   [2018]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] net/dsa/realtek: add MODULE_LICENSE()
Date
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");

\
 
 \ /
  Last update: 2018-07-20 18:16    [W:0.047 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site