diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-21 12:10:54 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 17:32:40 +0000 |
commit | 44c5d739181886cff8e3903dfa38cd704f3d9640 (patch) | |
tree | 2fb88f5953018c20816995c6a5140cc766b782f0 /include/linux/i2c-pnx.h | |
parent | 88d968b22fa26d5e3a8cab46fc7c3a21c89a91d3 (diff) | |
download | blackbird-op-linux-44c5d739181886cff8e3903dfa38cd704f3d9640.tar.gz blackbird-op-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.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 { }; 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__ */ |