Skip to content

Commit 9de69f0

Browse files
leitaokuba-moo
authored andcommitted
net: fill in MODULE_DESCRIPTION()s for mdio_devres
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>
1 parent e1e5ef2 commit 9de69f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/phy/mdio_devres.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,5 @@ int __devm_of_mdiobus_register(struct device *dev, struct mii_bus *mdio,
131131
EXPORT_SYMBOL(__devm_of_mdiobus_register);
132132
#endif /* CONFIG_OF_MDIO */
133133

134+
MODULE_DESCRIPTION("Network MDIO bus devres helpers");
134135
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)