aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-12-19 07:07:56 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 09:39:24 -0200
commit49dd1315fae94ef6161f72c7be961560d3309f17 (patch)
treed02c9cb1b29f619f042461398f7c5c8779123562
parent55d81aa5c11f9da510a72cc48fd59689b3e91e3a (diff)
V4L/DVB (9939): tuner: fix tuner_ioctl compile error if V4L1 ioctls are disabled.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/tuner-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index 22cf0c48b45..694087bfa77 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -1112,7 +1112,9 @@ static int tuner_resume(struct i2c_client *c)
static const struct v4l2_subdev_core_ops tuner_core_ops = {
.log_status = tuner_log_status,
.s_standby = tuner_s_standby,
+#ifdef CONFIG_VIDEO_ALLOW_V4L1
.ioctl = tuner_ioctl,
+#endif
};
static const struct v4l2_subdev_tuner_ops tuner_tuner_ops = {