summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa717x.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-29 22:54:35 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-29 22:54:35 -0300
commit6601c921cc0606a98bb649b3ebd524450c26cf6e (patch)
tree407711515fbdb1eb90ac7dd322f858afdf7587a5 /linux/drivers/media/video/saa717x.c
parent70563a913cd706ee2ff44f15f9be404764f932dc (diff)
parent90fe2a4ea4edbd255bdf8074fbb402d454682e94 (diff)
downloadmediapointer-dvb-s2-6601c921cc0606a98bb649b3ebd524450c26cf6e.tar.gz
mediapointer-dvb-s2-6601c921cc0606a98bb649b3ebd524450c26cf6e.tar.bz2
merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-cx88
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/saa717x.c')
-rw-r--r--linux/drivers/media/video/saa717x.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/linux/drivers/media/video/saa717x.c b/linux/drivers/media/video/saa717x.c
index 3ad43f6b3..ae8fcde9d 100644
--- a/linux/drivers/media/video/saa717x.c
+++ b/linux/drivers/media/video/saa717x.c
@@ -1386,11 +1386,6 @@ static int saa717x_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt)
return 0;
}
-static int saa717x_command(struct i2c_client *client, unsigned cmd, void *arg)
-{
- return v4l2_subdev_command(i2c_get_clientdata(client), cmd, arg);
-}
-
/* ----------------------------------------------------------------------- */
static const struct v4l2_subdev_core_ops saa717x_core_ops = {
@@ -1539,10 +1534,8 @@ MODULE_DEVICE_TABLE(i2c, saa717x_id);
#endif
static struct v4l2_i2c_driver_data v4l2_i2c_data = {
.name = "saa717x",
- .command = saa717x_command,
.probe = saa717x_probe,
.remove = saa717x_remove,
- .legacy_class = I2C_CLASS_TV_ANALOG | I2C_CLASS_TV_DIGITAL,
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
.id_table = saa717x_id,
#endif