]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
net: phy: fill in missing MODULE_DESCRIPTION()s
authorAndrew Lunn <andrew@lunn.ch>
Sat, 28 Oct 2023 18:44:57 +0000 (20:44 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 2 Nov 2023 04:50:56 +0000 (21:50 -0700)
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: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Acked-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20231028184458.99448-2-andrew@lunn.ch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/bcm-phy-ptp.c
drivers/net/phy/bcm87xx.c
drivers/net/phy/phylink.c
drivers/net/phy/sfp.c

index ef00d6163061fab6740a1c14995ee53da56e521c..cb4b91af5e17337cc22ba94efbf3f912c47fb084 100644 (file)
@@ -942,3 +942,4 @@ struct bcm_ptp_private *bcm_ptp_probe(struct phy_device *phydev)
 EXPORT_SYMBOL_GPL(bcm_ptp_probe);
 
 MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("Broadcom PHY PTP driver");
index cc28581076682fda823a23381c21b2cfa94e6287..e81404bf899474f0a716c5dbe283d5aa3a87d83b 100644 (file)
@@ -223,3 +223,4 @@ static struct phy_driver bcm87xx_driver[] = {
 module_phy_driver(bcm87xx_driver);
 
 MODULE_LICENSE("GPL v2");
+MODULE_DESCRIPTION("Broadcom BCM87xx PHY driver");
index 6712883498bbe99570275b5a074b55ddfc7b282e..6fdc6ba294d548eaad5a8dc503731b55a9bed7a7 100644 (file)
@@ -3726,3 +3726,4 @@ static int __init phylink_init(void)
 module_init(phylink_init);
 
 MODULE_LICENSE("GPL v2");
+MODULE_DESCRIPTION("phylink models the MAC to optional PHY connection");
index b8c0961daf53171733885531ba4fe7b5d831ad7c..5468bd209fab87f09f081e7daf9375911b69ba58 100644 (file)
@@ -3153,3 +3153,4 @@ module_exit(sfp_exit);
 MODULE_ALIAS("platform:sfp");
 MODULE_AUTHOR("Russell King");
 MODULE_LICENSE("GPL v2");
+MODULE_DESCRIPTION("SFP cage support");