usb: gadget: uvc: Move userspace API definition to public header
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 21 May 2018 08:28:51 +0000 (11:28 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 26 Jul 2018 10:33:39 +0000 (13:33 +0300)
commitd396e47fb558a819226955ce5db0149fde88da0f
treefa8c74169043fbe2a67555c5b6efaac77b274776
parentd72e90f33aa4709ebecc5005562f52335e106a60
usb: gadget: uvc: Move userspace API definition to public header

The UVC gadget userspace API (V4L2 events and custom ioctls) is defined
in a header internal to the kernel. Move it to a new public header to
make it accessible to userspace.

The UVC_INTF_CONTROL and UVC_INTF_STREAMING macros are not used, so
remove them in the process.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
MAINTAINERS
drivers/usb/gadget/function/uvc.h
include/uapi/linux/usb/g_uvc.h [new file with mode: 0644]