summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2012-04-22 13:59:47 +0400
committerRoland Stigge <stigge@antcom.de>2012-04-22 13:59:47 +0400
commitb41a216dafe4dd23c95cb4203de288f773a097a6 (patch)
tree81d0b1db3fc99c5142fd4b64ca57f7b682b8824c /include
parentbe460385af1c40905dd6858a475bc949a3072b08 (diff)
downloadlinux-b41a216dafe4dd23c95cb4203de288f773a097a6.tar.xz
i2c: Add device tree support to i2c-pnx.c
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')
-rw-r--r--include/linux/i2c-pnx.h1
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 {
struct i2c_adapter adapter;
phys_addr_t base;
int irq;
+ u32 timeout;
};
#endif /* __I2C_PNX_H__ */