aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 3963a5567472..4df12c7e69d7 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -395,6 +395,8 @@ i2c_parent_is_i2c_adapter(const struct i2c_adapter *adapter)
395 return NULL; 395 return NULL;
396} 396}
397 397
398int i2c_for_each_dev(void *data, int (*fn)(struct device *, void *));
399
398/* Adapter locking functions, exported for shared pin cases */ 400/* Adapter locking functions, exported for shared pin cases */
399void i2c_lock_adapter(struct i2c_adapter *); 401void i2c_lock_adapter(struct i2c_adapter *);
400void i2c_unlock_adapter(struct i2c_adapter *); 402void i2c_unlock_adapter(struct i2c_adapter *);