diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-21 11:58:36 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 17:32:40 +0000 |
commit | 88d968b22fa26d5e3a8cab46fc7c3a21c89a91d3 (patch) | |
tree | 59be21a4c25305dceb02210b54ae17f296020779 /include/linux/i2c-pnx.h | |
parent | 2781681ea6629ac0a685f5afe2011f916ab3c8ba (diff) | |
download | lwn-88d968b22fa26d5e3a8cab46fc7c3a21c89a91d3.tar.gz lwn-88d968b22fa26d5e3a8cab46fc7c3a21c89a91d3.zip |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h index 9035711cb3b1..5a48f33046fb 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; |