]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: cortina: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
authorJesse Chan <jc@linux.com>
Mon, 20 Nov 2017 20:57:42 +0000 (12:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Nov 2017 16:23:49 +0000 (01:23 +0900)
commit0cc03504c9f1b9c9da819094db37507c69ee9145
tree558c96f74605f584948ad01eb250bde6d60c1143
parent0c86a6bd85ff0629cd2c5141027fc1c8bb6cde9c
net: phy: cortina: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE

This change resolves a new compile-time warning
when built as a loadable module:

WARNING: modpost: missing MODULE_LICENSE() in drivers/net/phy/cortina.o
see include/linux/module.h for more information

This adds the license as "GPL", which matches the header of the file.

MODULE_DESCRIPTION and MODULE_AUTHOR are also added.

Signed-off-by: Jesse Chan <jc@linux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/cortina.c