mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 07:30:52 +07:00
bbafc0cb6c
The UVC host and gadget drivers both define constants and structures in private header files. Move all those definitions to linux/usb/video.h where they can be shared by the two drivers (and be available for userspace applications). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
27 lines
771 B
C
27 lines
771 B
C
/*
|
|
* f_uvc.h -- USB Video Class Gadget driver
|
|
*
|
|
* Copyright (C) 2009-2010
|
|
* Laurent Pinchart (laurent.pinchart@ideasonboard.com)
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
*/
|
|
|
|
#ifndef _F_UVC_H_
|
|
#define _F_UVC_H_
|
|
|
|
#include <linux/usb/composite.h>
|
|
#include <linux/usb/video.h>
|
|
|
|
extern int uvc_bind_config(struct usb_configuration *c,
|
|
const struct uvc_descriptor_header * const *control,
|
|
const struct uvc_descriptor_header * const *fs_streaming,
|
|
const struct uvc_descriptor_header * const *hs_streaming);
|
|
|
|
#endif /* _F_UVC_H_ */
|
|
|