20 lines
442 B
C
20 lines
442 B
C
// 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 */
|