Message ID | 559152D4.10903@mentor.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index e83a738..555ad9c 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -638,6 +638,9 @@ extern struct i2c_client *of_find_i2c_device_by_node(struct device_node *node); /* must call put_device() when done with returned i2c_adapter device */ extern struct i2c_adapter *of_find_i2c_adapter_by_node(struct device_node *node); +/* must call put_device() when done with returned i2c_adapter device */ +extern struct i2c_adapter *of_get_i2c_adapter_by_node(struct device_node *node); +