summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-11-21 12:10:54 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-02-12 17:32:40 +0000
commit44c5d739181886cff8e3903dfa38cd704f3d9640 (patch)
tree2fb88f5953018c20816995c6a5140cc766b782f0 /include/linux
parent88d968b22fa26d5e3a8cab46fc7c3a21c89a91d3 (diff)
downloadlinux-44c5d739181886cff8e3903dfa38cd704f3d9640.tar.gz
linux-44c5d739181886cff8e3903dfa38cd704f3d9640.tar.bz2
linux-44c5d739181886cff8e3903dfa38cd704f3d9640.zip
ARM: PNX4008: kzalloc i2c drivers internal data
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/i2c-pnx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h
index 5a48f33046fb..9ebdf882d032 100644
--- a/include/linux/i2c-pnx.h
+++ b/include/linux/i2c-pnx.h
@@ -25,9 +25,7 @@ struct i2c_pnx_mif {
};
struct i2c_pnx_algo_data {
- u32 base;
void __iomem *ioaddr;
- int irq;
struct i2c_pnx_mif mif;
int last;
struct clk *clk;
@@ -35,6 +33,8 @@ struct i2c_pnx_algo_data {
struct i2c_pnx_data {
struct i2c_adapter *adapter;
+ u32 base;
+ int irq;
};
#endif /* __I2C_PNX_H__ */