summaryrefslogtreecommitdiff
path: root/drivers/net/mdio.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-03-29 20:44:27 +0800
committerDavid S. Miller <davem@davemloft.net>2021-03-29 13:42:44 -0700
commit177cb7876dced42e7ab8736e108afd1fe8dc03ea (patch)
tree32dbbd9afce17fce543e8615689ec813a5f8e469 /drivers/net/mdio.c
parentacf61b3d84ccb325924a1ae320403f82858dba0f (diff)
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.c2
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
*