diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/i2c.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 731928ae972c..76014f8f3c60 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
| @@ -259,6 +259,12 @@ i2c_new_probed_device(struct i2c_adapter *adap, | |||
| 259 | struct i2c_board_info *info, | 259 | struct i2c_board_info *info, |
| 260 | unsigned short const *addr_list); | 260 | unsigned short const *addr_list); |
| 261 | 261 | ||
| 262 | /* For devices that use several addresses, use i2c_new_dummy() to make | ||
| 263 | * client handles for the extra addresses. | ||
| 264 | */ | ||
| 265 | extern struct i2c_client * | ||
| 266 | i2c_new_dummy(struct i2c_adapter *adap, u16 address, const char *type); | ||
| 267 | |||
| 262 | extern void i2c_unregister_device(struct i2c_client *); | 268 | extern void i2c_unregister_device(struct i2c_client *); |
| 263 | 269 | ||
| 264 | /* Mainboard arch_initcall() code should register all its I2C devices. | 270 | /* Mainboard arch_initcall() code should register all its I2C devices. |
