diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-21 07:10:54 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 12:32:40 -0500 |
commit | 44c5d739181886cff8e3903dfa38cd704f3d9640 (patch) | |
tree | 2fb88f5953018c20816995c6a5140cc766b782f0 /include/linux | |
parent | 88d968b22fa26d5e3a8cab46fc7c3a21c89a91d3 (diff) |
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.h | 4 |
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 { | |||
25 | }; | 25 | }; |
26 | 26 | ||
27 | struct i2c_pnx_algo_data { | 27 | struct i2c_pnx_algo_data { |
28 | u32 base; | ||
29 | void __iomem *ioaddr; | 28 | void __iomem *ioaddr; |
30 | int irq; | ||
31 | struct i2c_pnx_mif mif; | 29 | struct i2c_pnx_mif mif; |
32 | int last; | 30 | int last; |
33 | struct clk *clk; | 31 | struct clk *clk; |
@@ -35,6 +33,8 @@ struct i2c_pnx_algo_data { | |||
35 | 33 | ||
36 | struct i2c_pnx_data { | 34 | struct i2c_pnx_data { |
37 | struct i2c_adapter *adapter; | 35 | struct i2c_adapter *adapter; |
36 | u32 base; | ||
37 | int irq; | ||
38 | }; | 38 | }; |
39 | 39 | ||
40 | #endif /* __I2C_PNX_H__ */ | 40 | #endif /* __I2C_PNX_H__ */ |