From 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 11 Dec 2023 02:46:07 +0000
Subject: [PATCH] add audio

---
 kernel/drivers/usb/gadget/function/u_uvc.h |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/kernel/drivers/usb/gadget/function/u_uvc.h b/kernel/drivers/usb/gadget/function/u_uvc.h
index cfa81bc..e4992ae 100644
--- a/kernel/drivers/usb/gadget/function/u_uvc.h
+++ b/kernel/drivers/usb/gadget/function/u_uvc.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * u_uvc.h
  *
@@ -7,7 +7,7 @@
  * Copyright (c) 2013-2014 Samsung Electronics Co., Ltd.
  *		http://www.samsung.com
  *
- * Author: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
+ * Author: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>
  */
 
 #ifndef U_UVC_H
@@ -26,12 +26,16 @@
 	unsigned int					streaming_interval;
 	unsigned int					streaming_maxpacket;
 	unsigned int					streaming_maxburst;
+#if defined(CONFIG_ARCH_ROCKCHIP) && defined(CONFIG_NO_GKI)
 	bool						device_name_allocated;
 	const char					*device_name;
+	unsigned int					uvc_num_request;
+	unsigned int					uvc_zero_copy;
+#endif
 
 	unsigned int					control_interface;
 	unsigned int					streaming_interface;
-	unsigned int					uvc_num_request;
+	char						function_name[32];
 
 	/*
 	 * Control descriptors array pointers for full-/high-speed and

--
Gitblit v1.6.2