diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-01-13 03:59:11 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-01-13 03:59:11 +0100 |
commit | bd1f7936ab5138d7e5e4f61bb4371e2994b2b2c5 (patch) | |
tree | 09e5424736112005c309fcd5cb572111f265197e /include | |
parent | Merge commit 'kumar/kumar-next' into next (diff) | |
parent | Xilinx: SPI: updated driver for device tree (diff) | |
download | linux-bd1f7936ab5138d7e5e4f61bb4371e2994b2b2c5.tar.xz linux-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 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 */ |