summaryrefslogtreecommitdiffstats
path: root/include/linux/usb/g_hid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/usb/g_hid.h')
-rw-r--r--include/linux/usb/g_hid.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/usb/g_hid.h b/include/linux/usb/g_hid.h
new file mode 100644
index 000000000..d56bfedeb
--- /dev/null
+++ b/include/linux/usb/g_hid.h
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * g_hid.h -- Header file for USB HID gadget driver
+ *
+ * Copyright (C) 2010 Fabien Chouteau <fabien.chouteau@barco.com>
+ */
+
+#ifndef __LINUX_USB_G_HID_H
+#define __LINUX_USB_G_HID_H
+
+struct hidg_func_descriptor {
+ unsigned char subclass;
+ unsigned char protocol;
+ unsigned short report_length;
+ unsigned short report_desc_length;
+ unsigned char report_desc[];
+};
+
+#endif /* __LINUX_USB_G_HID_H */