V4L/DVB (7037): Fix build breakage of the bttv driver, when advanced debugging is not enabled

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=438468...
Commit:     438468359e1db16a7d1925fc4f2519a044bbf7dd
Parent:     f37fdf3ff744bffc35a8f1b9d7d655d8d88a0404
Author:     Zoltan Devai <zdevai@gmail.com>
AuthorDate: Mon Jan 14 13:24:38 2008 -0300
Committer:  Mauro Carvalho Chehab <mchehab@infradead.org>
CommitDate: Fri Jan 25 19:05:03 2008 -0200

    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>
---
 drivers/media/video/bt8xx/bttv-driver.c |    2 ++
 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 ddca21d..907dc62 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,
 };
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
V4L/DVB (7037): Fix build breakage of the bttv driver, when ..., Linux Kernel Mailing List..., (Fri Jan 25, 7:15 pm)