1 // SPDX-License-Identifier: GPL-2.0+
3 * g_hid.h -- Header file for USB HID gadget driver
5 * Copyright (C) 2010 Fabien Chouteau <fabien.chouteau@barco.com>
8 #ifndef __LINUX_USB_G_HID_H
9 #define __LINUX_USB_G_HID_H
11 struct hidg_func_descriptor
{
12 unsigned char subclass
;
13 unsigned char protocol
;
14 unsigned short report_length
;
15 unsigned short report_desc_length
;
16 unsigned char report_desc
[];
19 #endif /* __LINUX_USB_G_HID_H */