[media] pvr2: fix minor storage

This should have break statements in it.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Alan Cox 2012-10-25 10:38:21 -03:00 committed by Mauro Carvalho Chehab
parent 09f2967385
commit 6c058fb66e
1 changed files with 3 additions and 3 deletions

View File

@ -3563,9 +3563,9 @@ void pvr2_hdw_v4l_store_minor_number(struct pvr2_hdw *hdw,
enum pvr2_v4l_type index,int v)
{
switch (index) {
case pvr2_v4l_type_video: hdw->v4l_minor_number_video = v;
case pvr2_v4l_type_vbi: hdw->v4l_minor_number_vbi = v;
case pvr2_v4l_type_radio: hdw->v4l_minor_number_radio = v;
case pvr2_v4l_type_video: hdw->v4l_minor_number_video = v;break;
case pvr2_v4l_type_vbi: hdw->v4l_minor_number_vbi = v;break;
case pvr2_v4l_type_radio: hdw->v4l_minor_number_radio = v;break;
default: break;
}
}