diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-09-14 03:49:16 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:01:23 -0500 |
commit | 88307eb3c69c80a705072e68463d8f72005fc027 (patch) | |
tree | 5513daba6158185704d36d8b6b9b13a420c61482 /include/media/v4l2-i2c-drv.h | |
parent | 1a39275a3f2fc6fbdb876f5121d67d4b13310c5b (diff) |
V4L/DVB (6460): v4l2-i2c-drv: add legacy_probe function pointer
Some devices do complicated tests whether the device can be probed or not.
Add a legacy_probe function pointer to support that.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media/v4l2-i2c-drv.h')
-rw-r--r-- | include/media/v4l2-i2c-drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/v4l2-i2c-drv.h b/include/media/v4l2-i2c-drv.h index 547db60d3640..bc61ab27779d 100644 --- a/include/media/v4l2-i2c-drv.h +++ b/include/media/v4l2-i2c-drv.h | |||
@@ -29,6 +29,7 @@ struct v4l2_i2c_driver_data { | |||
29 | int (*remove)(struct i2c_client *client); | 29 | int (*remove)(struct i2c_client *client); |
30 | int (*suspend)(struct i2c_client *client, pm_message_t state); | 30 | int (*suspend)(struct i2c_client *client, pm_message_t state); |
31 | int (*resume)(struct i2c_client *client); | 31 | int (*resume)(struct i2c_client *client); |
32 | int (*legacy_probe)(struct i2c_adapter *adapter); | ||
32 | int legacy_class; | 33 | int legacy_class; |
33 | }; | 34 | }; |
34 | 35 | ||