]> Git Repo - linux.git/commitdiff
net: fill in MODULE_DESCRIPTION()s for mdio_devres
authorBreno Leitao <[email protected]>
Wed, 14 Feb 2024 15:27:40 +0000 (07:27 -0800)
committerJakub Kicinski <[email protected]>
Thu, 15 Feb 2024 16:03:46 +0000 (08:03 -0800)
W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
Add descriptions to the PHY MDIO helpers.

Suggested-by: Andrew Lunn <[email protected]>
Signed-off-by: Breno Leitao <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/phy/mdio_devres.c

index 69b829e6ab35b84a07f0063f3a6f7b48ea1a6de1..7fd3377dbd7960adb2af9f19999b1a940b55fc33 100644 (file)
@@ -131,4 +131,5 @@ int __devm_of_mdiobus_register(struct device *dev, struct mii_bus *mdio,
 EXPORT_SYMBOL(__devm_of_mdiobus_register);
 #endif /* CONFIG_OF_MDIO */
 
+MODULE_DESCRIPTION("Network MDIO bus devres helpers");
 MODULE_LICENSE("GPL");
This page took 0.063835 seconds and 4 git commands to generate.