Skip to content

Commit

Permalink
net/dsa/realtek: add MODULE_LICENSE()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and David S. Miller committed Jul 22, 2018
1 parent 5b3df17 commit be5a8ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/dsa/realtek-smi.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,3 +485,5 @@ static struct platform_driver realtek_smi_driver = {
.remove = realtek_smi_remove,
};
module_platform_driver(realtek_smi_driver);

MODULE_LICENSE("GPL");

0 comments on commit be5a8ff

Please sign in to comment.