g_hid.h 442 B

12345678910111213141516171819
  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 <[email protected]>
  6. */
  7. #ifndef __LINUX_USB_G_HID_H
  8. #define __LINUX_USB_G_HID_H
  9. struct hidg_func_descriptor {
  10. unsigned char subclass;
  11. unsigned char protocol;
  12. unsigned short report_length;
  13. unsigned short report_desc_length;
  14. unsigned char report_desc[];
  15. };
  16. #endif /* __LINUX_USB_G_HID_H */