Commit dd9d75fc authored by Andrew Lunn's avatar Andrew Lunn Committed by Jakub Kicinski

net: phy: fill in missing MODULE_DESCRIPTION()s

W=1 builds now warn if a module is built without a
MODULE_DESCRIPTION(). Fill them in based on the Kconfig text, or
similar.
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Acked-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20231028184458.99448-2-andrew@lunn.chSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent aca08097
...@@ -942,3 +942,4 @@ struct bcm_ptp_private *bcm_ptp_probe(struct phy_device *phydev) ...@@ -942,3 +942,4 @@ struct bcm_ptp_private *bcm_ptp_probe(struct phy_device *phydev)
EXPORT_SYMBOL_GPL(bcm_ptp_probe); EXPORT_SYMBOL_GPL(bcm_ptp_probe);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Broadcom PHY PTP driver");
...@@ -223,3 +223,4 @@ static struct phy_driver bcm87xx_driver[] = { ...@@ -223,3 +223,4 @@ static struct phy_driver bcm87xx_driver[] = {
module_phy_driver(bcm87xx_driver); module_phy_driver(bcm87xx_driver);
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("Broadcom BCM87xx PHY driver");
...@@ -3726,3 +3726,4 @@ static int __init phylink_init(void) ...@@ -3726,3 +3726,4 @@ static int __init phylink_init(void)
module_init(phylink_init); module_init(phylink_init);
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("phylink models the MAC to optional PHY connection");
...@@ -3153,3 +3153,4 @@ module_exit(sfp_exit); ...@@ -3153,3 +3153,4 @@ module_exit(sfp_exit);
MODULE_ALIAS("platform:sfp"); MODULE_ALIAS("platform:sfp");
MODULE_AUTHOR("Russell King"); MODULE_AUTHOR("Russell King");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("SFP cage support");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment