ARM: PNX4008: kzalloc i2c drivers internal data

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King
2009-11-21 12:10:54 +00:00
parent 88d968b22f
commit 44c5d73918
3 changed files with 28 additions and 30 deletions

View File

@@ -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__ */