hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/usb/gadget/function/u_uvc.h
....@@ -1,4 +1,4 @@
1
-// SPDX-License-Identifier: GPL-2.0
1
+/* SPDX-License-Identifier: GPL-2.0 */
22 /*
33 * u_uvc.h
44 *
....@@ -7,7 +7,7 @@
77 * Copyright (c) 2013-2014 Samsung Electronics Co., Ltd.
88 * http://www.samsung.com
99 *
10
- * Author: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
10
+ * Author: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>
1111 */
1212
1313 #ifndef U_UVC_H
....@@ -26,12 +26,16 @@
2626 unsigned int streaming_interval;
2727 unsigned int streaming_maxpacket;
2828 unsigned int streaming_maxburst;
29
+#if defined(CONFIG_ARCH_ROCKCHIP) && defined(CONFIG_NO_GKI)
2930 bool device_name_allocated;
3031 const char *device_name;
32
+ unsigned int uvc_num_request;
33
+ unsigned int uvc_zero_copy;
34
+#endif
3135
3236 unsigned int control_interface;
3337 unsigned int streaming_interface;
34
- unsigned int uvc_num_request;
38
+ char function_name[32];
3539
3640 /*
3741 * Control descriptors array pointers for full-/high-speed and