| /* SPDX-License-Identifier: GPL-2.0 */ |
| * Utility definitions for the hid function |
| * Copyright (c) 2014 Samsung Electronics Co., Ltd. |
| * Author: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com> |
| #include <linux/usb/composite.h> |
| struct usb_function_instance func_inst; |
| unsigned char no_out_endpoint; |
| 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); |