diff options
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r-- | drivers/net/mv643xx_eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 7e94d455533c..0405e1f0d3df 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -99,7 +99,7 @@ static spinlock_t mv643xx_eth_phy_lock = SPIN_LOCK_UNLOCKED; | |||
99 | 99 | ||
100 | static inline u32 mv_read(int offset) | 100 | static inline u32 mv_read(int offset) |
101 | { | 101 | { |
102 | void *__iomem reg_base; | 102 | void __iomem *reg_base; |
103 | 103 | ||
104 | reg_base = mv643xx_eth_shared_base - MV643XX_ETH_SHARED_REGS; | 104 | reg_base = mv643xx_eth_shared_base - MV643XX_ETH_SHARED_REGS; |
105 | 105 | ||
@@ -108,7 +108,7 @@ static inline u32 mv_read(int offset) | |||
108 | 108 | ||
109 | static inline void mv_write(int offset, u32 data) | 109 | static inline void mv_write(int offset, u32 data) |
110 | { | 110 | { |
111 | void * __iomem reg_base; | 111 | void __iomem *reg_base; |
112 | 112 | ||
113 | reg_base = mv643xx_eth_shared_base - MV643XX_ETH_SHARED_REGS; | 113 | reg_base = mv643xx_eth_shared_base - MV643XX_ETH_SHARED_REGS; |
114 | writel(data, reg_base + offset); | 114 | writel(data, reg_base + offset); |