summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-02-14 07:27:40 -0800
committerJakub Kicinski <kuba@kernel.org>2024-02-15 08:03:46 -0800
commit9de69f0e99585d84baab4fbb0b3b97c02cf069f1 (patch)
tree0c928fe2e874d1f7fc4860a25b5cd0d85bccffc1
parente1e5ef2aefc2ab77dacf77626f9f25f332ba91b7 (diff)
downloadlwn-9de69f0e99585d84baab4fbb0b3b97c02cf069f1.tar.gz
lwn-9de69f0e99585d84baab4fbb0b3b97c02cf069f1.zip
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>
-rw-r--r--drivers/net/phy/mdio_devres.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/mdio_devres.c b/drivers/net/phy/mdio_devres.c
index 69b829e6ab35..7fd3377dbd79 100644
--- a/drivers/net/phy/mdio_devres.c
+++ b/drivers/net/phy/mdio_devres.c
@@ -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");