V4L/DVB (7037): Fix build breakage of the bttv driver, when advanced debugging is...
authorZoltan Devai <zdevai@gmail.com>
Mon, 14 Jan 2008 16:24:38 +0000 (13:24 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:05:03 +0000 (19:05 -0200)
Signed-off-by: Zoltan Devai <zdevai@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/bt8xx/bttv-driver.c

index ddca21d9c948040e5150f5473d7dee92d2158255..907dc62c178319047cdcf45266ff18d8f3059875 100644 (file)
@@ -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,
 };