Commit 0ceba550 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

media: gadget: uvc: rename VFL_TYPE_GRABBER to _VIDEO

'GRABBER' is a weird name, all other types map to the /dev
device names. Rename to 'VIDEO' to be consistent with the
other types.
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 238e4a5b
...@@ -428,7 +428,7 @@ uvc_register_video(struct uvc_device *uvc) ...@@ -428,7 +428,7 @@ uvc_register_video(struct uvc_device *uvc)
video_set_drvdata(&uvc->vdev, uvc); video_set_drvdata(&uvc->vdev, uvc);
ret = video_register_device(&uvc->vdev, VFL_TYPE_GRABBER, -1); ret = video_register_device(&uvc->vdev, VFL_TYPE_VIDEO, -1);
if (ret < 0) if (ret < 0)
return ret; return ret;
......
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