Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andrew Lunn and committed by
Jakub Kicinski
dd9d75fc aca08097

+4
+1
drivers/net/phy/bcm-phy-ptp.c
··· 942 942 EXPORT_SYMBOL_GPL(bcm_ptp_probe); 943 943 944 944 MODULE_LICENSE("GPL"); 945 + MODULE_DESCRIPTION("Broadcom PHY PTP driver");
+1
drivers/net/phy/bcm87xx.c
··· 223 223 module_phy_driver(bcm87xx_driver); 224 224 225 225 MODULE_LICENSE("GPL v2"); 226 + MODULE_DESCRIPTION("Broadcom BCM87xx PHY driver");
+1
drivers/net/phy/phylink.c
··· 3726 3726 module_init(phylink_init); 3727 3727 3728 3728 MODULE_LICENSE("GPL v2"); 3729 + MODULE_DESCRIPTION("phylink models the MAC to optional PHY connection");
+1
drivers/net/phy/sfp.c
··· 3153 3153 MODULE_ALIAS("platform:sfp"); 3154 3154 MODULE_AUTHOR("Russell King"); 3155 3155 MODULE_LICENSE("GPL v2"); 3156 + MODULE_DESCRIPTION("SFP cage support");