/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __GADGET_CONFIGFS__ #define __GADGET_CONFIGFS__ #include <linux/configfs.h> int check_user_usb_string(const char *name, struct usb_gadget_strings *stringtab_dev); #define GS_STRINGS_W(__struct, __name) … #define GS_STRINGS_R(__struct, __name) … #define GS_STRINGS_RW(struct_name, _name) … #define USB_CONFIG_STRING_RW_OPS(struct_in) … #define USB_CONFIG_STRINGS_LANG(struct_in, struct_member) … #endif