net: fill in MODULE_DESCRIPTION()s for mdio_devres
authorBreno Leitao <leitao@debian.org>
Wed, 14 Feb 2024 15:27:40 +0000 (07:27 -0800)
committerJakub Kicinski <kuba@kernel.org>
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 <andrew@lunn.ch>
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20240214152741.670178-7-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/mdio_devres.c

index 69b829e..7fd3377 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");