summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-01-13 03:59:11 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-01-13 03:59:11 +0100
commitbd1f7936ab5138d7e5e4f61bb4371e2994b2b2c5 (patch)
tree09e5424736112005c309fcd5cb572111f265197e /include
parentMerge commit 'kumar/kumar-next' into next (diff)
parentXilinx: SPI: updated driver for device tree (diff)
downloadlinux-bd1f7936ab5138d7e5e4f61bb4371e2994b2b2c5.tar.xz
linux-bd1f7936ab5138d7e5e4f61bb4371e2994b2b2c5.zip
Merge commit 'gcl/gcl-next' into next
Diffstat (limited to 'include')
-rw-r--r--include/linux/of_i2c.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/of_i2c.h b/include/linux/of_i2c.h
index bd2a870ec296..34974b5a76f7 100644
--- a/include/linux/of_i2c.h
+++ b/include/linux/of_i2c.h
@@ -17,4 +17,7 @@
void of_register_i2c_devices(struct i2c_adapter *adap,
struct device_node *adap_node);
+/* must call put_device() when done with returned i2c_client device */
+struct i2c_client *of_find_i2c_device_by_node(struct device_node *node);
+
#endif /* __LINUX_OF_I2C_H */