[linux-dvb] [PATCH] Fix the compilation of the bttv driver, when advanced debugging is not enabled

Zoltan Devai zdevai at gmail.com
Fri Jan 11 02:21:11 CET 2008


Well, not much to say :)

---

Fix the compilation of the bttv driver, when advanced debugging is not enabled.

Signed-off-by: Zoltan Devai <zdevai at gmail.com>

--- a/drivers/media/video/bt8xx/bttv-driver.c	2008-01-10
11:33:03.000000000 +0100
+++ b/drivers/media/video/bt8xx/bttv-driver.c	2008-01-11
02:07:53.000000000 +0100
@@ -3445,8 +3445,10 @@
 	.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,
 };



More information about the linux-dvb mailing list