Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+
0002 /*
0003  * g_hid.h -- Header file for USB HID gadget driver
0004  *
0005  * Copyright (C) 2010 Fabien Chouteau <fabien.chouteau@barco.com>
0006  */
0007 
0008 #ifndef __LINUX_USB_G_HID_H
0009 #define __LINUX_USB_G_HID_H
0010 
0011 struct hidg_func_descriptor {
0012     unsigned char       subclass;
0013     unsigned char       protocol;
0014     unsigned short      report_length;
0015     unsigned short      report_desc_length;
0016     unsigned char       report_desc[];
0017 };
0018 
0019 #endif /* __LINUX_USB_G_HID_H */