summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorZoltan Devai <zdevai@gmail.com>2008-01-14 13:24:38 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:05:03 -0200
commit438468359e1db16a7d1925fc4f2519a044bbf7dd (patch)
treec7786384699a9cb6da5e660d661ebbdebcbcb291 /drivers/media
parentf37fdf3ff744bffc35a8f1b9d7d655d8d88a0404 (diff)
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/bt8xx/bttv-driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c
index ddca21d9c948..907dc62c1783 100644
--- a/drivers/media/video/bt8xx/bttv-driver.c
+++ b/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,
};