]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
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)
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

index 72f4228a63bb0a9fb0f3baa993fa85fc8ad6f823..9442db2218348713e87faf91ccc25f4a8444526a 100644 (file)
@@ -116,3 +116,7 @@ static struct mdio_device_id __maybe_unused cortina_tbl[] = {
 };
 
 MODULE_DEVICE_TABLE(mdio, cortina_tbl);
+
+MODULE_DESCRIPTION("Cortina EDC CDR 10G Ethernet PHY driver");
+MODULE_AUTHOR("NXP");
+MODULE_LICENSE("GPL");