1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * g_hid.h -- Header file for USB HID gadget driver 4 * 5 * Copyright (C) 2010 Fabien Chouteau <fabien.chouteau@barco.com> 6 */ 7 8#ifndef __LINUX_USB_G_HID_H 9#define __LINUX_USB_G_HID_H 10 11struct 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[]; 17}; 18 19#endif /* __LINUX_USB_G_HID_H */ 20