diff options
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r-- | drivers/net/mv643xx_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 7c9dbc8c9423..25c9a99c377b 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -94,7 +94,7 @@ static char mv643xx_driver_version[] = "1.0"; | |||
94 | static void __iomem *mv643xx_eth_shared_base; | 94 | static void __iomem *mv643xx_eth_shared_base; |
95 | 95 | ||
96 | /* used to protect MV643XX_ETH_SMI_REG, which is shared across ports */ | 96 | /* used to protect MV643XX_ETH_SMI_REG, which is shared across ports */ |
97 | static spinlock_t mv643xx_eth_phy_lock = SPIN_LOCK_UNLOCKED; | 97 | static DEFINE_SPINLOCK(mv643xx_eth_phy_lock); |
98 | 98 | ||
99 | static inline u32 mv_read(int offset) | 99 | static inline u32 mv_read(int offset) |
100 | { | 100 | { |