usb: gadget: uvc: move structs to common header
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Thu, 21 Apr 2022 21:14:24 +0000 (23:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 May 2022 20:09:30 +0000 (22:09 +0200)
commite2fa7b36de90de26da11b7f37fe0ce16935ab8a8
tree18ff6ddd1f2498494426fcd2b0164b6e602a3567
parenta350cfb6537f94be8a6423bc68a7a7883263c306
usb: gadget: uvc: move structs to common header

The functions and structs of the configfs interface should also be used
by the uvc gadget driver. This patch prepares the stack by moving the
common structs and functions to the common header file.

Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20220421211427.3400834-5-m.grzeschik@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/f_uvc.c
drivers/usb/gadget/function/uvc_configfs.c
drivers/usb/gadget/function/uvc_configfs.h