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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, not much to say :)

---

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

Signed-off-by: Zoltan Devai <zdevai@xxxxxxxxx>

--- 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,
 };

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux