From: Hans Verkuil Date: Fri, 19 Dec 2008 10:07:56 +0000 (-0300) Subject: V4L/DVB (9939): tuner: fix tuner_ioctl compile error if V4L1 ioctls are disabled. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=49dd1315fae94ef6161f72c7be961560d3309f17;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git V4L/DVB (9939): tuner: fix tuner_ioctl compile error if V4L1 ioctls are disabled. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index 22cf0c48b450..694087bfa77d 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 = {