[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>
This commit is contained in:
parent
91de1fff2d
commit
dc074a8a32
@ -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;
|
||||
|
||||
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user