diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-03-29 14:44:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-29 22:42:44 +0200 |
commit | 177cb7876dced42e7ab8736e108afd1fe8dc03ea (patch) | |
tree | 32dbbd9afce17fce543e8615689ec813a5f8e469 /drivers/net/mdio.c | |
parent | net: bonding: Correct function name bond_change_active_slave() in comment (diff) | |
download | linux-177cb7876dced42e7ab8736e108afd1fe8dc03ea.tar.xz linux-177cb7876dced42e7ab8736e108afd1fe8dc03ea.zip |
net: mdio: Correct function name mdio45_links_ok() in comment
Fix the following make W=1 kernel build warning:
drivers/net/mdio.c:95: warning: expecting prototype for mdio_link_ok(). Prototype was for mdio45_links_ok() instead
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mdio.c')
-rw-r--r-- | drivers/net/mdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mdio.c b/drivers/net/mdio.c index 5e72cc55afbd..e08c90ac0c6e 100644 --- a/drivers/net/mdio.c +++ b/drivers/net/mdio.c @@ -83,7 +83,7 @@ int mdio_set_flag(const struct mdio_if_info *mdio, EXPORT_SYMBOL(mdio_set_flag); /** - * mdio_link_ok - is link status up/OK + * mdio45_links_ok - is link status up/OK * @mdio: MDIO interface * @mmd_mask: Mask for MMDs to check * |