mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 13:11:14 +00:00
ARM: PNX4008: move i2c_adapter structure inside the drivers private data
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
44c5d73918
commit
9d7f73632c
3 changed files with 26 additions and 36 deletions
|
@ -29,10 +29,12 @@ struct i2c_pnx_algo_data {
|
|||
struct i2c_pnx_mif mif;
|
||||
int last;
|
||||
struct clk *clk;
|
||||
struct i2c_pnx_data *i2c_pnx;
|
||||
struct i2c_adapter adapter;
|
||||
};
|
||||
|
||||
struct i2c_pnx_data {
|
||||
struct i2c_adapter *adapter;
|
||||
const char *name;
|
||||
u32 base;
|
||||
int irq;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue