Skip to content

Commit dd9d75f

Browse files
lunnkuba-moo
authored andcommitted
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: 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>
1 parent aca0809 commit dd9d75f

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

drivers/net/phy/bcm-phy-ptp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,3 +942,4 @@ struct bcm_ptp_private *bcm_ptp_probe(struct phy_device *phydev)
942942
EXPORT_SYMBOL_GPL(bcm_ptp_probe);
943943

944944
MODULE_LICENSE("GPL");
945+
MODULE_DESCRIPTION("Broadcom PHY PTP driver");

drivers/net/phy/bcm87xx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,3 +223,4 @@ static struct phy_driver bcm87xx_driver[] = {
223223
module_phy_driver(bcm87xx_driver);
224224

225225
MODULE_LICENSE("GPL v2");
226+
MODULE_DESCRIPTION("Broadcom BCM87xx PHY driver");

drivers/net/phy/phylink.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3726,3 +3726,4 @@ static int __init phylink_init(void)
37263726
module_init(phylink_init);
37273727

37283728
MODULE_LICENSE("GPL v2");
3729+
MODULE_DESCRIPTION("phylink models the MAC to optional PHY connection");

drivers/net/phy/sfp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3153,3 +3153,4 @@ module_exit(sfp_exit);
31533153
MODULE_ALIAS("platform:sfp");
31543154
MODULE_AUTHOR("Russell King");
31553155
MODULE_LICENSE("GPL v2");
3156+
MODULE_DESCRIPTION("SFP cage support");

0 commit comments

Comments
 (0)