aboutsummaryrefslogtreecommitdiff
path: root/include/linux/i2c-pnx.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-11-21 11:58:36 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-02-12 17:32:40 +0000
commit88d968b22fa26d5e3a8cab46fc7c3a21c89a91d3 (patch)
tree59be21a4c25305dceb02210b54ae17f296020779 /include/linux/i2c-pnx.h
parent2781681ea6629ac0a685f5afe2011f916ab3c8ba (diff)
ARM: PNX4008: Make ioaddr 'void __iomem *' rather than 'u32'
This avoids unnecessary casting. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/i2c-pnx.h')
-rw-r--r--include/linux/i2c-pnx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h
index 9035711cb3b..5a48f33046f 100644
--- a/include/linux/i2c-pnx.h
+++ b/include/linux/i2c-pnx.h
@@ -26,7 +26,7 @@ struct i2c_pnx_mif {
struct i2c_pnx_algo_data {
u32 base;
- u32 ioaddr;
+ void __iomem *ioaddr;
int irq;
struct i2c_pnx_mif mif;
int last;