summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-pnx.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-11-21 12:25:27 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-02-12 17:32:41 +0000
commit9d7f73632c87ef1b6187eb539d1efd63c3cf0e36 (patch)
treed4eda1040089f76fa092dc96432d708064a84ad5 /include/linux/i2c-pnx.h
parent44c5d739181886cff8e3903dfa38cd704f3d9640 (diff)
downloadop-kernel-dev-9d7f73632c87ef1b6187eb539d1efd63c3cf0e36.zip
op-kernel-dev-9d7f73632c87ef1b6187eb539d1efd63c3cf0e36.tar.gz
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/linux/i2c-pnx.h')
-rw-r--r--include/linux/i2c-pnx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h
index 9ebdf88..a87124d 100644
--- a/include/linux/i2c-pnx.h
+++ b/include/linux/i2c-pnx.h
@@ -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;
};
OpenPOWER on IntegriCloud