diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-03-29 20:40:46 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-29 13:42:44 -0700 |
commit | 4db0964a75a2835c7e4a5051cf99e0e63f9775f9 (patch) | |
tree | a2de4b3dae5884bff4938051b2571355bab10635 /drivers/net/phy/mdio-boardinfo.c | |
parent | cbc6a2d0aeab67c863030c4572cfeca9cdaf36ee (diff) | |
download | linux-stable-4db0964a75a2835c7e4a5051cf99e0e63f9775f9.tar.gz linux-stable-4db0964a75a2835c7e4a5051cf99e0e63f9775f9.tar.bz2 linux-stable-4db0964a75a2835c7e4a5051cf99e0e63f9775f9.zip |
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: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio-boardinfo.c')
-rw-r--r-- | drivers/net/phy/mdio-boardinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/mdio-boardinfo.c b/drivers/net/phy/mdio-boardinfo.c index 033df435f76c..2de679a68115 100644 --- a/drivers/net/phy/mdio-boardinfo.c +++ b/drivers/net/phy/mdio-boardinfo.c @@ -50,7 +50,7 @@ void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus, 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 * @n: number of descriptors provided * Context: can sleep |