浏览代码

V4L/DVB (7037): Fix build breakage of the bttv driver, when advanced debugging is not enabled

Signed-off-by: Zoltan Devai <zdevai@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Zoltan Devai 18 年之前
父节点
当前提交
438468359e
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/media/video/bt8xx/bttv-driver.c

+ 2 - 0
drivers/media/video/bt8xx/bttv-driver.c

@@ -3402,8 +3402,10 @@ static struct video_device bttv_video_template =
 	.vidioc_s_frequency             = bttv_s_frequency,
 	.vidioc_log_status		= bttv_log_status,
 	.vidioc_querystd		= bttv_querystd,
+#ifdef CONFIG_VIDEO_ADV_DEBUG
 	.vidioc_g_register		= bttv_g_register,
 	.vidioc_s_register		= bttv_s_register,
+#endif
 	.tvnorms                        = BTTV_NORMS,
 	.current_norm                   = V4L2_STD_PAL,
 };