summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-12-18 11:16:24 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 09:39:28 -0200
commit1fe2740ff10b3de1aab8f88f2f05547e5f369035 (patch)
treeefe195799feb740906d0adc35ec7e30efb2e8f74 /include
parent531c98e71805b32e9ea35a218119100bbd2b7615 (diff)
downloadlinux-3.10-1fe2740ff10b3de1aab8f88f2f05547e5f369035.tar.gz
linux-3.10-1fe2740ff10b3de1aab8f88f2f05547e5f369035.tar.bz2
linux-3.10-1fe2740ff10b3de1aab8f88f2f05547e5f369035.zip
V4L/DVB (9957): v4l2-subdev: add g_sliced_vbi_cap and add NULL pointer checks
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/v4l2-subdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index bc9e0fbf282..bca25e8eab6 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -110,6 +110,7 @@ struct v4l2_subdev_video_ops {
int (*decode_vbi_line)(struct v4l2_subdev *sd, struct v4l2_decode_vbi_line *vbi_line);
int (*s_vbi_data)(struct v4l2_subdev *sd, const struct v4l2_sliced_vbi_data *vbi_data);
int (*g_vbi_data)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_data *vbi_data);
+ int (*g_sliced_vbi_cap)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_cap *cap);
int (*s_std_output)(struct v4l2_subdev *sd, v4l2_std_id std);
int (*s_stream)(struct v4l2_subdev *sd, int enable);
int (*s_fmt)(struct v4l2_subdev *sd, struct v4l2_format *fmt);