summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-12-19 11:07:56 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2008-12-19 11:07:56 +0100
commit5001dbc132aae3d583ec070cfd2f8382f383cec5 (patch)
tree876a1396987f0a0e913473b4964606745443351b /linux/drivers
parentc4542dc81f4ce29264cfdf0ac973a51129685567 (diff)
downloadmediapointer-dvb-s2-5001dbc132aae3d583ec070cfd2f8382f383cec5.tar.gz
mediapointer-dvb-s2-5001dbc132aae3d583ec070cfd2f8382f383cec5.tar.bz2
tuner: fix tuner_ioctl compile error if V4L1 ioctls are disabled.
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/tuner-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c
index e649f2eb7..74a7402f2 100644
--- a/linux/drivers/media/video/tuner-core.c
+++ b/linux/drivers/media/video/tuner-core.c
@@ -1118,7 +1118,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 = {