aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-01-19 22:04:31 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:34:37 -0500
commitaf78a48b69231e129db0e1db24053da22f8eed6d (patch)
treed13dc3d1ec239ed8e8c3a5ee581608fc6e837ab1 /drivers
parent4b85dee6a05dd963a13bd1230fafc060bf45ae45 (diff)
V4L/DVB (5080): Pvrusb2: Allow streaming from /dev/radioX
Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-v4l2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
index 9890c753cf55..655a722289ed 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
@@ -1143,7 +1143,8 @@ static void pvr2_v4l2_dev_init(struct pvr2_v4l2_dev *dip,
1143 nr_ptr = vbi_nr; 1143 nr_ptr = vbi_nr;
1144 break; 1144 break;
1145 case VFL_TYPE_RADIO: 1145 case VFL_TYPE_RADIO:
1146 dip->config = pvr2_config_pcm; 1146 dip->stream = &vp->channel.mc_head->video_stream;
1147 dip->config = pvr2_config_mpeg;
1147 dip->minor_type = pvr2_v4l_type_radio; 1148 dip->minor_type = pvr2_v4l_type_radio;
1148 nr_ptr = radio_nr; 1149 nr_ptr = radio_nr;
1149 break; 1150 break;