Commit 4db0964a authored by Yang Yingliang's avatar Yang Yingliang Committed by David S. Miller

net: phy: Correct function name mdiobus_register_board_info() in comment

Fix the following make W=1 kernel build warning:

 drivers/net/phy/mdio-boardinfo.c:63: warning: expecting prototype for mdio_register_board_info(). Prototype was for mdiobus_register_board_info() instead
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cbc6a2d0
...@@ -50,7 +50,7 @@ void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus, ...@@ -50,7 +50,7 @@ void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus,
EXPORT_SYMBOL(mdiobus_setup_mdiodev_from_board_info); EXPORT_SYMBOL(mdiobus_setup_mdiodev_from_board_info);
/** /**
* mdio_register_board_info - register MDIO devices for a given board * mdiobus_register_board_info - register MDIO devices for a given board
* @info: array of devices descriptors * @info: array of devices descriptors
* @n: number of descriptors provided * @n: number of descriptors provided
* Context: can sleep * Context: can sleep
......
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