aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-08-11 12:20:57 -0400
committerJean Delvare <khali@linux-fr.org>2010-08-11 12:20:57 -0400
commitd44f19d586b6113fb5db10e1a36457f0db3b01aa (patch)
treed1bd292c092874aad3cd97faea3baf7599d6ae02 /include
parent9a94241afcc9a481691a9c29b7460217925b59b8 (diff)
V4L/DVB: Use custom I2C probing function mechanism
Now that i2c-core offers the possibility to provide custom probing function for I2C devices, let's make use of it. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 59a9f3cdc0b5..c8627e453e97 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -294,6 +294,9 @@ i2c_new_probed_device(struct i2c_adapter *adap,
294 unsigned short const *addr_list, 294 unsigned short const *addr_list,
295 int (*probe)(struct i2c_adapter *, unsigned short addr)); 295 int (*probe)(struct i2c_adapter *, unsigned short addr));
296 296
297/* Common custom probe functions */
298extern int i2c_probe_func_quick_read(struct i2c_adapter *, unsigned short addr);
299
297/* For devices that use several addresses, use i2c_new_dummy() to make 300/* For devices that use several addresses, use i2c_new_dummy() to make
298 * client handles for the extra addresses. 301 * client handles for the extra addresses.
299 */ 302 */