changeset 2 | d1f6d8b6f81c |
parent 0 | aa628870c1d3 |
--- a/include/linux/of_i2c.h Thu Apr 09 12:06:38 2009 +0200 +++ b/include/linux/of_i2c.h Thu Apr 09 12:07:21 2009 +0200 @@ -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 */