diff options
author | Roland Stigge <stigge@antcom.de> | 2012-04-20 09:34:09 -0400 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-05-12 08:28:14 -0400 |
commit | a092de11bb4a96ac43ede0352e09bdf7e06280e8 (patch) | |
tree | d00b69bb5214e6287005c28c5f9f7df51e8a0d3b /include/linux/i2c-pnx.h | |
parent | 973c5ed45dbdf8fd90e300826507b5e6814916af (diff) |
i2c: pnx: add device tree support
This patch adds device tree support to the pnx-i2c driver by using platform
resources for memory region and irq and removing dependency on mach includes.
The following platforms are affected:
* PNX
* LPC31xx (WIP)
* LPC32xx
The patch is based on a patch by Jon Smirl, working on lpc31xx integration
Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'include/linux/i2c-pnx.h')
-rw-r--r-- | include/linux/i2c-pnx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h index 6e8efb7afd7c..1bc74afe7a35 100644 --- a/include/linux/i2c-pnx.h +++ b/include/linux/i2c-pnx.h | |||
@@ -32,6 +32,7 @@ struct i2c_pnx_algo_data { | |||
32 | struct i2c_adapter adapter; | 32 | struct i2c_adapter adapter; |
33 | phys_addr_t base; | 33 | phys_addr_t base; |
34 | int irq; | 34 | int irq; |
35 | u32 timeout; | ||
35 | }; | 36 | }; |
36 | 37 | ||
37 | #endif /* __I2C_PNX_H__ */ | 38 | #endif /* __I2C_PNX_H__ */ |