diff options
| -rw-r--r-- | include/linux/of_i2c.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/of_i2c.h b/include/linux/of_i2c.h index 1cb775f8e663..cfb545cd86b5 100644 --- a/include/linux/of_i2c.h +++ b/include/linux/of_i2c.h | |||
| @@ -29,6 +29,18 @@ static inline void of_i2c_register_devices(struct i2c_adapter *adap) | |||
| 29 | { | 29 | { |
| 30 | return; | 30 | return; |
| 31 | } | 31 | } |
| 32 | |||
| 33 | static inline struct i2c_client *of_find_i2c_device_by_node(struct device_node *node) | ||
| 34 | { | ||
| 35 | return NULL; | ||
| 36 | } | ||
| 37 | |||
| 38 | /* must call put_device() when done with returned i2c_adapter device */ | ||
| 39 | static inline struct i2c_adapter *of_find_i2c_adapter_by_node( | ||
| 40 | struct device_node *node) | ||
| 41 | { | ||
| 42 | return NULL; | ||
| 43 | } | ||
| 32 | #endif /* CONFIG_OF_I2C */ | 44 | #endif /* CONFIG_OF_I2C */ |
| 33 | 45 | ||
| 34 | #endif /* __LINUX_OF_I2C_H */ | 46 | #endif /* __LINUX_OF_I2C_H */ |
