diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2014-12-10 12:34:02 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-12 12:13:26 -0600 |
commit | 46919a23ee87bbc4eeb6d958471174e26836f0e1 (patch) | |
tree | f6630c766ed3ebd0efcaf92cb04ceb105760140c /drivers/usb/gadget/function/uvc_configfs.h | |
parent | 6c25955ed632227d28b85db274e519b766e26ddd (diff) | |
download | lwn-46919a23ee87bbc4eeb6d958471174e26836f0e1.tar.gz lwn-46919a23ee87bbc4eeb6d958471174e26836f0e1.zip |
usb: gadget: uvc: configfs support in uvc function
Add support for using the uvc function as a component of USB gadgets composed
with configfs.
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/function/uvc_configfs.h')
-rw-r--r-- | drivers/usb/gadget/function/uvc_configfs.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/usb/gadget/function/uvc_configfs.h b/drivers/usb/gadget/function/uvc_configfs.h new file mode 100644 index 000000000000..085e67be7c71 --- /dev/null +++ b/drivers/usb/gadget/function/uvc_configfs.h @@ -0,0 +1,22 @@ +/* + * uvc_configfs.h + * + * Configfs support for the uvc function. + * + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * + * Author: Andrzej Pietrasiewicz <andrzej.p@samsung.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +#ifndef UVC_CONFIGFS_H +#define UVC_CONFIGFS_H + +struct f_uvc_opts; + +int uvcg_attach_configfs(struct f_uvc_opts *opts); + +#endif /* UVC_CONFIGFS_H */ |