diff options
author | Al Viro <viro@www.linux.org.uk> | 2005-04-25 10:55:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-25 10:55:58 -0400 |
commit | dc074a8a32bc12e19436b087f01f4a4700e9b9c0 (patch) | |
tree | 38739592d76c9a7f12029c0ad4f0a36c11dc7367 /drivers/net | |
parent | 91de1fff2d431fec1162333a1e4fad9a53cd5b9e (diff) |
[PATCH] ppc iomem annotations: mv643xx_eth
void * __iomem replaced with intended void __iomem *.
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net')
-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); |