diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/i2c.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 36d6814a6df4..da95ce79d075 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
@@ -245,6 +245,15 @@ struct i2c_board_info { | |||
245 | extern struct i2c_client * | 245 | extern struct i2c_client * |
246 | i2c_new_device(struct i2c_adapter *adap, struct i2c_board_info const *info); | 246 | i2c_new_device(struct i2c_adapter *adap, struct i2c_board_info const *info); |
247 | 247 | ||
248 | /* If you don't know the exact address of an I2C device, use this variant | ||
249 | * instead, which can probe for device presence in a list of possible | ||
250 | * addresses. | ||
251 | */ | ||
252 | extern struct i2c_client * | ||
253 | i2c_new_probed_device(struct i2c_adapter *adap, | ||
254 | struct i2c_board_info *info, | ||
255 | unsigned short const *addr_list); | ||
256 | |||
248 | extern void i2c_unregister_device(struct i2c_client *); | 257 | extern void i2c_unregister_device(struct i2c_client *); |
249 | 258 | ||
250 | /* Mainboard arch_initcall() code should register all its I2C devices. | 259 | /* Mainboard arch_initcall() code should register all its I2C devices. |