| * Utility definitions for the hid function |
| * Copyright (c) 2014 Samsung Electronics Co., Ltd. |
| * Author: Andrzej Pietrasiewicz <andrzej.p@samsung.com> |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| #include <linux/usb/composite.h> |
| struct usb_function_instance func_inst; |
| unsigned short report_length; |
| unsigned short report_desc_length; |
| unsigned char *report_desc; |
| * Protect the data form concurrent access by read/write |
| * and create symlink/remove symlink. |
| int ghid_setup(struct usb_gadget *g, int count); |