On 08/28/2012 11:47 PM, Michal Nazarewicz wrote:
--- a/include/linux/usb/composite.h
+++ b/include/linux/usb/composite.h
@@ -248,6 +248,12 @@ int usb_add_config(struct usb_composite_dev *,
  void usb_remove_config(struct usb_composite_dev *,
                struct usb_configuration *);

+/* predefined index for usb_composite_driver */
+#define USB_GADGET_MANUFACTURER_IDX    0
+#define USB_GADGET_PRODUCT_IDX         1
+#define USB_GADGET_SERIAL_IDX          2
+#define USB_GADGET_FIRST_AVAIL_IDX     3

enum perhaps?

Let me try.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to