summaryrefslogtreecommitdiff
path: root/include/usbg/usbg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usbg/usbg.h')
-rw-r--r--include/usbg/usbg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/usbg/usbg.h b/include/usbg/usbg.h
index d2bffba..41a6454 100644
--- a/include/usbg/usbg.h
+++ b/include/usbg/usbg.h
@@ -136,8 +136,8 @@ struct usbg_gadget_attrs
typedef enum {
USBG_GADGET_STR_MIN = 0,
- USBG_STR_PRODUCT = USBG_GADGET_STR_MIN,
- USBG_STR_MANUFACTURER,
+ USBG_STR_MANUFACTURER = USBG_GADGET_STR_MIN,
+ USBG_STR_PRODUCT,
USBG_STR_SERIAL_NUMBER,
USBG_GADGET_STR_MAX,
} usbg_gadget_str;
@@ -147,9 +147,9 @@ typedef enum {
*/
struct usbg_gadget_strs
{
- char serial[USBG_MAX_STR_LENGTH];
char manufacturer[USBG_MAX_STR_LENGTH];
char product[USBG_MAX_STR_LENGTH];
+ char serial[USBG_MAX_STR_LENGTH];
};
/**