[PATCH] ppc iomem annotations: mv643xx_eth
Al Viro
viro at www.linux.org.uk
Mon Apr 25 16:04:36 EST 2005
void * __iomem replaced with intended void __iomem *.
Signed-off-by: Al Viro <viro at parcelfarce.linux.theplanet.co.uk>
----
diff -urN RC12-rc3-ppc-signal/drivers/net/mv643xx_eth.c RC12-rc3-mveth/drivers/net/mv643xx_eth.c
--- RC12-rc3-ppc-signal/drivers/net/mv643xx_eth.c Wed Apr 20 21:25:38 2005
+++ RC12-rc3-mveth/drivers/net/mv643xx_eth.c Mon Apr 25 01:36:36 2005
@@ -99,7 +99,7 @@
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 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);
More information about the Linuxppc-dev
mailing list