diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-01-13 13:59:11 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-01-13 13:59:11 +1100 |
commit | bd1f7936ab5138d7e5e4f61bb4371e2994b2b2c5 (patch) | |
tree | 09e5424736112005c309fcd5cb572111f265197e /include | |
parent | 30aae739a9eb6db31ad7b08dac44bd302f41c709 (diff) | |
parent | ff82c587a9a4cb8796e7e04377155deba15ae18b (diff) | |
download | linux-3.10-bd1f7936ab5138d7e5e4f61bb4371e2994b2b2c5.tar.gz linux-3.10-bd1f7936ab5138d7e5e4f61bb4371e2994b2b2c5.tar.bz2 linux-3.10-bd1f7936ab5138d7e5e4f61bb4371e2994b2b2c5.zip |
Merge commit 'gcl/gcl-next' into next
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/of_i2c.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/of_i2c.h b/include/linux/of_i2c.h index bd2a870ec29..34974b5a76f 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 */ |