提交 49dd1315 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

V4L/DVB (9939): tuner: fix tuner_ioctl compile error if V4L1 ioctls are disabled.

Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 55d81aa5
......@@ -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 = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册