diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-21 07:25:27 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 12:32:41 -0500 |
commit | 9d7f73632c87ef1b6187eb539d1efd63c3cf0e36 (patch) | |
tree | d4eda1040089f76fa092dc96432d708064a84ad5 /include | |
parent | 44c5d739181886cff8e3903dfa38cd704f3d9640 (diff) |
ARM: PNX4008: move i2c_adapter structure inside the drivers private data
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/i2c-pnx.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h index 9ebdf882d032..a87124d4d533 100644 --- a/include/linux/i2c-pnx.h +++ b/include/linux/i2c-pnx.h | |||
@@ -29,10 +29,12 @@ struct i2c_pnx_algo_data { | |||
29 | struct i2c_pnx_mif mif; | 29 | struct i2c_pnx_mif mif; |
30 | int last; | 30 | int last; |
31 | struct clk *clk; | 31 | struct clk *clk; |
32 | struct i2c_pnx_data *i2c_pnx; | ||
33 | struct i2c_adapter adapter; | ||
32 | }; | 34 | }; |
33 | 35 | ||
34 | struct i2c_pnx_data { | 36 | struct i2c_pnx_data { |
35 | struct i2c_adapter *adapter; | 37 | const char *name; |
36 | u32 base; | 38 | u32 base; |
37 | int irq; | 39 | int irq; |
38 | }; | 40 | }; |