summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/uvc_configfs.h
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2014-12-10 12:34:02 +0100
committerFelipe Balbi <balbi@ti.com>2015-01-12 12:13:26 -0600
commit46919a23ee87bbc4eeb6d958471174e26836f0e1 (patch)
treef6630c766ed3ebd0efcaf92cb04ceb105760140c /drivers/usb/gadget/function/uvc_configfs.h
parent6c25955ed632227d28b85db274e519b766e26ddd (diff)
downloadop-kernel-dev-46919a23ee87bbc4eeb6d958471174e26836f0e1.zip
op-kernel-dev-46919a23ee87bbc4eeb6d958471174e26836f0e1.tar.gz
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.h22
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 0000000..085e67b
--- /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 */
OpenPOWER on IntegriCloud