diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-08-07 04:55:03 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-08-07 04:55:03 -0400 |
commit | 4fb8af10d0fd09372d52966b76922b9e82bbc950 (patch) | |
tree | d240e4d40357583e3f3eb228dccf20122a5b31ed /drivers/media/video/cx88/cx88-blackbird.c | |
parent | f44f82e8a20b98558486eb14497b2f71c78fa325 (diff) | |
parent | 64a99d2a8c3ed5c4e39f3ae1cc682aa8fd3977fc (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
Diffstat (limited to 'drivers/media/video/cx88/cx88-blackbird.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-blackbird.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c index bfdca5847764..9a1374a38ec7 100644 --- a/drivers/media/video/cx88/cx88-blackbird.c +++ b/drivers/media/video/cx88/cx88-blackbird.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <linux/device.h> | 33 | #include <linux/device.h> |
34 | #include <linux/firmware.h> | 34 | #include <linux/firmware.h> |
35 | #include <media/v4l2-common.h> | 35 | #include <media/v4l2-common.h> |
36 | #include <media/v4l2-ioctl.h> | ||
36 | #include <media/cx2341x.h> | 37 | #include <media/cx2341x.h> |
37 | 38 | ||
38 | #include "cx88.h" | 39 | #include "cx88.h" |
@@ -1174,12 +1175,7 @@ static const struct file_operations mpeg_fops = | |||
1174 | .llseek = no_llseek, | 1175 | .llseek = no_llseek, |
1175 | }; | 1176 | }; |
1176 | 1177 | ||
1177 | static struct video_device cx8802_mpeg_template = | 1178 | static const struct v4l2_ioctl_ops mpeg_ioctl_ops = { |
1178 | { | ||
1179 | .name = "cx8802", | ||
1180 | .type = VID_TYPE_CAPTURE|VID_TYPE_TUNER|VID_TYPE_SCALES|VID_TYPE_MPEG_ENCODER, | ||
1181 | .fops = &mpeg_fops, | ||
1182 | .minor = -1, | ||
1183 | .vidioc_querymenu = vidioc_querymenu, | 1179 | .vidioc_querymenu = vidioc_querymenu, |
1184 | .vidioc_querycap = vidioc_querycap, | 1180 | .vidioc_querycap = vidioc_querycap, |
1185 | .vidioc_enum_fmt_vid_cap = vidioc_enum_fmt_vid_cap, | 1181 | .vidioc_enum_fmt_vid_cap = vidioc_enum_fmt_vid_cap, |
@@ -1207,6 +1203,13 @@ static struct video_device cx8802_mpeg_template = | |||
1207 | .vidioc_g_tuner = vidioc_g_tuner, | 1203 | .vidioc_g_tuner = vidioc_g_tuner, |
1208 | .vidioc_s_tuner = vidioc_s_tuner, | 1204 | .vidioc_s_tuner = vidioc_s_tuner, |
1209 | .vidioc_s_std = vidioc_s_std, | 1205 | .vidioc_s_std = vidioc_s_std, |
1206 | }; | ||
1207 | |||
1208 | static struct video_device cx8802_mpeg_template = { | ||
1209 | .name = "cx8802", | ||
1210 | .fops = &mpeg_fops, | ||
1211 | .ioctl_ops = &mpeg_ioctl_ops, | ||
1212 | .minor = -1, | ||
1210 | .tvnorms = CX88_NORMS, | 1213 | .tvnorms = CX88_NORMS, |
1211 | .current_norm = V4L2_STD_NTSC_M, | 1214 | .current_norm = V4L2_STD_NTSC_M, |
1212 | }; | 1215 | }; |