Commit a3a0ff01 authored by Guangbin Huang's avatar Guangbin Huang Committed by David S. Miller

net: hns3: fix a typo in struct hclge_mac

The member link of struct hclge_mac stores the link status of
MAC and PHY if PHY exists, but its annotation uses word "exit",
so fix it.
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarHuazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e6394363
...@@ -266,7 +266,7 @@ struct hclge_mac { ...@@ -266,7 +266,7 @@ struct hclge_mac {
u32 fec_mode; /* active fec mode */ u32 fec_mode; /* active fec mode */
u32 user_fec_mode; u32 user_fec_mode;
u32 fec_ability; u32 fec_ability;
int link; /* store the link status of mac & phy (if phy exit) */ int link; /* store the link status of mac & phy (if phy exists) */
struct phy_device *phydev; struct phy_device *phydev;
struct mii_bus *mdio_bus; struct mii_bus *mdio_bus;
phy_interface_t phy_if; phy_interface_t phy_if;
......
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