mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
net: sh_eth: Fix a typo - replace regist with register.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
70ac618c07
commit
8f6352f2b5
@ -2286,7 +2286,7 @@ static int sh_mdio_init(struct net_device *ndev, int id,
|
|||||||
for (i = 0; i < PHY_MAX_ADDR; i++)
|
for (i = 0; i < PHY_MAX_ADDR; i++)
|
||||||
mdp->mii_bus->irq[i] = PHY_POLL;
|
mdp->mii_bus->irq[i] = PHY_POLL;
|
||||||
|
|
||||||
/* regist mdio bus */
|
/* register mdio bus */
|
||||||
ret = mdiobus_register(mdp->mii_bus);
|
ret = mdiobus_register(mdp->mii_bus);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto out_free_irq;
|
goto out_free_irq;
|
||||||
|
Loading…
Reference in New Issue
Block a user