diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ucc_geth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index 62d979b0f975..8243150f5b05 100644 --- a/drivers/net/ucc_geth.c +++ b/drivers/net/ucc_geth.c | |||
@@ -1852,6 +1852,8 @@ static int init_phy(struct net_device *dev) | |||
1852 | mii_info->mdio_read = &read_phy_reg; | 1852 | mii_info->mdio_read = &read_phy_reg; |
1853 | mii_info->mdio_write = &write_phy_reg; | 1853 | mii_info->mdio_write = &write_phy_reg; |
1854 | 1854 | ||
1855 | spin_lock_init(&mii_info->mdio_lock); | ||
1856 | |||
1855 | ugeth->mii_info = mii_info; | 1857 | ugeth->mii_info = mii_info; |
1856 | 1858 | ||
1857 | spin_lock_irq(&ugeth->lock); | 1859 | spin_lock_irq(&ugeth->lock); |