summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-i2c-drv.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-30 00:40:01 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-07 02:44:22 +0200
commit0c84674353a8c344d169aabce4dc4d44daaa270d (patch)
tree5250181fdb5ffd9912fb98760c98bbc9dde97e3b /include/media/v4l2-i2c-drv.h
parentV4L/DVB (11370): v4l2-subdev: move s_std from tuner to core. (diff)
downloadlinux-0c84674353a8c344d169aabce4dc4d44daaa270d.tar.xz
linux-0c84674353a8c344d169aabce4dc4d44daaa270d.zip
V4L/DVB (11371): v4l2: remove legacy fields in v4l2-i2c-drv.h.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-i2c-drv.h')
-rw-r--r--include/media/v4l2-i2c-drv.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/media/v4l2-i2c-drv.h b/include/media/v4l2-i2c-drv.h
index efdc8bf27f87..1ceeb9cfc8a8 100644
--- a/include/media/v4l2-i2c-drv.h
+++ b/include/media/v4l2-i2c-drv.h
@@ -39,14 +39,11 @@
struct v4l2_i2c_driver_data {
const char * const name;
- int driverid;
int (*command)(struct i2c_client *client, unsigned int cmd, void *arg);
int (*probe)(struct i2c_client *client, const struct i2c_device_id *id);
int (*remove)(struct i2c_client *client);
int (*suspend)(struct i2c_client *client, pm_message_t state);
int (*resume)(struct i2c_client *client);
- int (*legacy_probe)(struct i2c_adapter *adapter);
- int legacy_class;
const struct i2c_device_id *id_table;
};
@@ -59,7 +56,6 @@ static struct i2c_driver v4l2_i2c_driver;
static int __init v4l2_i2c_drv_init(void)
{
v4l2_i2c_driver.driver.name = v4l2_i2c_data.name;
- v4l2_i2c_driver.id = v4l2_i2c_data.driverid;
v4l2_i2c_driver.command = v4l2_i2c_data.command;
v4l2_i2c_driver.probe = v4l2_i2c_data.probe;
v4l2_i2c_driver.remove = v4l2_i2c_data.remove;