diff options
Diffstat (limited to 'drivers/media/video/videodev.c')
-rw-r--r-- | drivers/media/video/videodev.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c index 078880e4c8c0..908fbec776ac 100644 --- a/drivers/media/video/videodev.c +++ b/drivers/media/video/videodev.c | |||
@@ -279,23 +279,23 @@ int video_register_device(struct video_device *vfd, int type, int nr) | |||
279 | switch(type) | 279 | switch(type) |
280 | { | 280 | { |
281 | case VFL_TYPE_GRABBER: | 281 | case VFL_TYPE_GRABBER: |
282 | base=0; | 282 | base=MINOR_VFL_TYPE_GRABBER_MIN; |
283 | end=64; | 283 | end=MINOR_VFL_TYPE_GRABBER_MAX+1; |
284 | name_base = "video"; | 284 | name_base = "video"; |
285 | break; | 285 | break; |
286 | case VFL_TYPE_VTX: | 286 | case VFL_TYPE_VTX: |
287 | base=192; | 287 | base=MINOR_VFL_TYPE_VTX_MIN; |
288 | end=224; | 288 | end=MINOR_VFL_TYPE_VTX_MAX+1; |
289 | name_base = "vtx"; | 289 | name_base = "vtx"; |
290 | break; | 290 | break; |
291 | case VFL_TYPE_VBI: | 291 | case VFL_TYPE_VBI: |
292 | base=224; | 292 | base=MINOR_VFL_TYPE_VBI_MIN; |
293 | end=256; | 293 | end=MINOR_VFL_TYPE_VBI_MAX+1; |
294 | name_base = "vbi"; | 294 | name_base = "vbi"; |
295 | break; | 295 | break; |
296 | case VFL_TYPE_RADIO: | 296 | case VFL_TYPE_RADIO: |
297 | base=64; | 297 | base=MINOR_VFL_TYPE_RADIO_MIN; |
298 | end=128; | 298 | end=MINOR_VFL_TYPE_RADIO_MAX+1; |
299 | name_base = "radio"; | 299 | name_base = "radio"; |
300 | break; | 300 | break; |
301 | default: | 301 | default: |