summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-14 14:24:38 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-14 14:24:38 -0200
commit0db7d8624b8bebecfa7a980c23113f33ff07d74d (patch)
treed9e8a24ee0e28c0d4908bce7c155bec873d2293a /linux
parentcd9d05db95ec6e49f6699151b1560b24af680689 (diff)
downloadmediapointer-dvb-s2-0db7d8624b8bebecfa7a980c23113f33ff07d74d.tar.gz
mediapointer-dvb-s2-0db7d8624b8bebecfa7a980c23113f33ff07d74d.tar.bz2
Fix build breakage of the bttv driver, when advanced debugging is not enabled
From: Zoltan Devai <zdevai@gmail.com> Signed-off-by: Zoltan Devai <zdevai@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-driver.c b/linux/drivers/media/video/bt8xx/bttv-driver.c
index 6d542b1b0..65e3cb500 100644
--- a/linux/drivers/media/video/bt8xx/bttv-driver.c
+++ b/linux/drivers/media/video/bt8xx/bttv-driver.c
@@ -3445,8 +3445,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,
};