'GRABBER' is a weird name, all other types map to the /dev device names. Rename to 'VIDEO' to be consistent with the other types.
Showing the changes to drivers/usb/gadget/function (1 of 1 file). Show all
Unified · Split
| @@ -428,7 +428,7 @@ uvc_register_video(struct uvc_device *uvc) · 427 unmodified lines | |||
| 428 | 428 | ||
| 429 | video_set_drvdata(&uvc->vdev, uvc); | 429 | video_set_drvdata(&uvc->vdev, uvc); |
| 430 | 430 | ||
| 431 | ret = video_register_device(&uvc->vdev, VFL_TYPE_GRABBER, -1); | 431 | ret = video_register_device(&uvc->vdev, VFL_TYPE_VIDEO, -1); |
| 432 | if (ret < 0) | 432 | if (ret < 0) |
| 433 | return ret; | 433 | return ret; |
| 434 | 434 | ||