From: Trent Piepho Date: Wed, 1 Aug 2007 03:13:28 +0000 (-0300) Subject: V4L/DVB (5977): cx8800: Add register debug functions to radio device too X-Git-Tag: v2.6.24-rc1~1463^2~255 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a75d204860b5051ebd5635278c097bafb4ea53f9;p=karo-tx-linux.git 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index 41b5cb63fd2d..58ec76be436c 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 }; /* ----------------------------------------------------------- */