summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-08-01 00:13:28 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 22:04:33 -0300
commita75d204860b5051ebd5635278c097bafb4ea53f9 (patch)
tree06fa722990b97a52a14f42e4b43892b0cdd7b401
parentb97762ba18b57c7057b58ed4f7140a19d0166b01 (diff)
downloadlinux-3.10-a75d204860b5051ebd5635278c097bafb4ea53f9.tar.gz
linux-3.10-a75d204860b5051ebd5635278c097bafb4ea53f9.tar.bz2
linux-3.10-a75d204860b5051ebd5635278c097bafb4ea53f9.zip
V4L/DVB (5977): cx8800: Add register debug functions to radio device too
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>
-rw-r--r--drivers/media/video/cx88/cx88-video.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c
index 41b5cb63fd2..58ec76be436 100644
--- a/drivers/media/video/cx88/cx88-video.c
+++ b/drivers/media/video/cx88/cx88-video.c
@@ -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
};
/* ----------------------------------------------------------- */