summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-pnx.h
diff options
context:
space:
mode:
authorRussell King2009-11-21 13:10:54 +0100
committerRussell King2010-02-12 18:32:40 +0100
commit44c5d739181886cff8e3903dfa38cd704f3d9640 (patch)
tree2fb88f5953018c20816995c6a5140cc766b782f0 /include/linux/i2c-pnx.h
parentARM: PNX4008: Make ioaddr 'void __iomem *' rather than 'u32' (diff)
downloadkernel-qcow2-linux-44c5d739181886cff8e3903dfa38cd704f3d9640.tar.gz
kernel-qcow2-linux-44c5d739181886cff8e3903dfa38cd704f3d9640.tar.xz
kernel-qcow2-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/i2c-pnx.h')
-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__ */