[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:
parent
09f2967385
commit
6c058fb66e
|
@ -3563,9 +3563,9 @@ void pvr2_hdw_v4l_store_minor_number(struct pvr2_hdw *hdw,
|
||||||
enum pvr2_v4l_type index,int v)
|
enum pvr2_v4l_type index,int v)
|
||||||
{
|
{
|
||||||
switch (index) {
|
switch (index) {
|
||||||
case pvr2_v4l_type_video: hdw->v4l_minor_number_video = v;
|
case pvr2_v4l_type_video: hdw->v4l_minor_number_video = v;break;
|
||||||
case pvr2_v4l_type_vbi: hdw->v4l_minor_number_vbi = v;
|
case pvr2_v4l_type_vbi: hdw->v4l_minor_number_vbi = v;break;
|
||||||
case pvr2_v4l_type_radio: hdw->v4l_minor_number_radio = v;
|
case pvr2_v4l_type_radio: hdw->v4l_minor_number_radio = v;break;
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue