]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5977): cx8800: Add register debug functions to radio device too
authorTrent Piepho <xyzzy@speakeasy.org>
Wed, 1 Aug 2007 03:13:28 +0000 (00:13 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:04:33 +0000 (22:04 -0300)
Add the advanced debug functions to the radio videodev template.  One could
already use them from the video and vbi devices.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-video.c

index 41b5cb63fd2d66658b2974a97359d0f057da1d7d..58ec76be436c74dd8a4e2010ce97b6fd236c4a61 100644 (file)
@@ -1716,6 +1716,10 @@ static struct video_device cx8800_radio_template =
        .vidioc_s_ctrl        = vidioc_s_ctrl,
        .vidioc_g_frequency   = vidioc_g_frequency,
        .vidioc_s_frequency   = vidioc_s_frequency,
+#ifdef CONFIG_VIDEO_ADV_DEBUG
+       .vidioc_g_register    = vidioc_g_register,
+       .vidioc_s_register    = vidioc_s_register,
+#endif
 };
 
 /* ----------------------------------------------------------- */