Commit 6c058fb6 authored by Alan Cox's avatar Alan Cox Committed by Mauro Carvalho Chehab

[media] pvr2: fix minor storage

This should have break statements in it.
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarMike Isely <isely@pobox.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 09f29673
...@@ -3563,9 +3563,9 @@ void pvr2_hdw_v4l_store_minor_number(struct pvr2_hdw *hdw, ...@@ -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;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment