Commit dc074a8a authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] ppc iomem annotations: mv643xx_eth

void * __iomem replaced with intended void __iomem *.
Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 91de1fff
...@@ -99,7 +99,7 @@ static spinlock_t mv643xx_eth_phy_lock = SPIN_LOCK_UNLOCKED; ...@@ -99,7 +99,7 @@ static spinlock_t mv643xx_eth_phy_lock = SPIN_LOCK_UNLOCKED;
static inline u32 mv_read(int offset) static inline u32 mv_read(int offset)
{ {
void *__iomem reg_base; void __iomem *reg_base;
reg_base = mv643xx_eth_shared_base - MV643XX_ETH_SHARED_REGS; reg_base = mv643xx_eth_shared_base - MV643XX_ETH_SHARED_REGS;
...@@ -108,7 +108,7 @@ static inline u32 mv_read(int offset) ...@@ -108,7 +108,7 @@ static inline u32 mv_read(int offset)
static inline void mv_write(int offset, u32 data) static inline void mv_write(int offset, u32 data)
{ {
void * __iomem reg_base; void __iomem *reg_base;
reg_base = mv643xx_eth_shared_base - MV643XX_ETH_SHARED_REGS; reg_base = mv643xx_eth_shared_base - MV643XX_ETH_SHARED_REGS;
writel(data, reg_base + offset); writel(data, reg_base + offset);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment