Commit 59f06978 authored by Russell King's avatar Russell King Committed by David S. Miller

net: update docbook comment for __mdiobus_register()

Update the docbook comment for __mdiobus_register() to include the new
module owner argument.  This resolves a warning found by the 0-day
builder.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 58a89eca
...@@ -236,11 +236,14 @@ static inline void of_mdiobus_link_phydev(struct mii_bus *mdio, ...@@ -236,11 +236,14 @@ static inline void of_mdiobus_link_phydev(struct mii_bus *mdio,
#endif #endif
/** /**
* mdiobus_register - bring up all the PHYs on a given bus and attach them to bus * __mdiobus_register - bring up all the PHYs on a given bus and attach them to bus
* @bus: target mii_bus * @bus: target mii_bus
* @owner: module containing bus accessor functions
* *
* Description: Called by a bus driver to bring up all the PHYs * Description: Called by a bus driver to bring up all the PHYs
* on a given bus, and attach them to the bus. * on a given bus, and attach them to the bus. Drivers should use
* mdiobus_register() rather than __mdiobus_register() unless they
* need to pass a specific owner module.
* *
* Returns 0 on success or < 0 on error. * Returns 0 on success or < 0 on error.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment