Skip to content

Commit

Permalink
[PATCH] ppc iomem annotations: mv643xx_eth
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Apr 25, 2005
1 parent 91de1ff commit dc074a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/mv643xx_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static spinlock_t mv643xx_eth_phy_lock = SPIN_LOCK_UNLOCKED;

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;

Expand All @@ -108,7 +108,7 @@ static inline u32 mv_read(int offset)

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;
writel(data, reg_base + offset);
Expand Down

0 comments on commit dc074a8

Please sign in to comment.