summaryrefslogtreecommitdiffstats
path: root/include/linux/usb/g_hid.h
blob: d56bfedeb07978c80ab0d5accd04f7125b155f4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 */