mirror of
https://github.com/torvalds/linux.git
synced 2024-10-31 17:21:49 +00:00
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>
This commit is contained in:
parent
0c86a6bd85
commit
0cc03504c9
@ -116,3 +116,7 @@ static struct mdio_device_id __maybe_unused cortina_tbl[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
MODULE_DEVICE_TABLE(mdio, cortina_tbl);
|
MODULE_DEVICE_TABLE(mdio, cortina_tbl);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Cortina EDC CDR 10G Ethernet PHY driver");
|
||||||
|
MODULE_AUTHOR("NXP");
|
||||||
|
MODULE_LICENSE("GPL");
|
||||||
|
Loading…
Reference in New Issue
Block a user