History

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.

Hans Verkuil committed 6 years ago

Commit 0ceba551 parent 238e4a51 file · +1 −1Browse files

Showing the changes to drivers/usb/gadget/function (1 of 1 file). Show all

Unified · Split

drivers/usb/gadget/function/f_uvc.c+1−1
@@ -428,7 +428,7 @@ uvc_register_video(struct uvc_device *uvc) · 427 unmodified lines
428428
429429 video_set_drvdata(&uvc->vdev, uvc);
430430
431− ret = video_register_device(&uvc->vdev, VFL_TYPE_GRABBER, -1);
431+ ret = video_register_device(&uvc->vdev, VFL_TYPE_VIDEO, -1);
432432 if (ret < 0)
433433 return ret;
434434

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t