V4L/DVB: cx231xx: switch to new vbi subdev ops
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 14 Mar 2010 15:31:08 +0000 (12:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:58:51 +0000 (12:58 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-video.c

index 597c416218cf1f2430e8f794fe75473facef18d3..2782709b263fa49a7ed72f7a0f5eef9887111b60 100644 (file)
@@ -1669,7 +1669,7 @@ static int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *priv,
 
        f->fmt.sliced.service_set = 0;
 
-       call_all(dev, video, g_fmt, f);
+       call_all(dev, vbi, g_sliced_fmt, &f->fmt.sliced);
 
        if (f->fmt.sliced.service_set == 0)
                rc = -EINVAL;
@@ -1690,7 +1690,7 @@ static int vidioc_try_set_sliced_vbi_cap(struct file *file, void *priv,
                return rc;
 
        mutex_lock(&dev->lock);
-       call_all(dev, video, g_fmt, f);
+       call_all(dev, vbi, g_sliced_fmt, &f->fmt.sliced);
        mutex_unlock(&dev->lock);
 
        if (f->fmt.sliced.service_set == 0)