From 57eb30b265e1879b0cf3b0507066fb3b67a4195b Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 13 Mar 2014 09:15:56 +0100 Subject: i2c: implement of_find_i2c_adapter_by_node Signed-off-by: Sascha Hauer --- include/i2c/i2c.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/i2c') diff --git a/include/i2c/i2c.h b/include/i2c/i2c.h index 81e5daa200..f89fefbb27 100644 --- a/include/i2c/i2c.h +++ b/include/i2c/i2c.h @@ -133,6 +133,7 @@ static inline int i2c_register_board_info(int busnum, #endif extern int i2c_add_numbered_adapter(struct i2c_adapter *adapter); struct i2c_adapter *i2c_get_adapter(int busnum); +struct i2c_adapter *of_find_i2c_adapter_by_node(struct device_node *node); /* For devices that use several addresses, use i2c_new_dummy() to make * client handles for the extra addresses. -- cgit v1.2.3