]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/linux/usb/gadget.h
dm: usb: Move struct usb_string to a common place
[people/ms/u-boot.git] / include / linux / usb / gadget.h
index 230f47d67e2d580211901cbadd186e406ec86d5c..4adf35e3ae75e7ebcd1fdc933fa4b856ed327bcf 100644 (file)
@@ -858,19 +858,6 @@ void usb_del_gadget_udc(struct usb_gadget *gadget);
 
 /* utility to simplify dealing with string descriptors */
 
-/**
- * struct usb_string - wraps a C string and its USB id
- * @id:the (nonzero) ID for this string
- * @s:the string, in UTF-8 encoding
- *
- * If you're using usb_gadget_get_string(), use this to wrap a string
- * together with its ID.
- */
-struct usb_string {
-       u8                      id;
-       const char              *s;
-};
-
 /**
  * struct usb_gadget_strings - a set of USB strings in a given language
  * @language:identifies the strings' language (0x0409 for en-us)