mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
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: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
58a89ecaca
commit
59f069789c
1 changed files with 5 additions and 2 deletions
|
@ -236,11 +236,14 @@ static inline void of_mdiobus_link_phydev(struct mii_bus *mdio,
|
|||
#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
|
||||
* @owner: module containing bus accessor functions
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue