[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] [PATCH] Correct configuration descriptor member's name
Please Alan could you commit this patch.
Thanks.
-----------------------------------------
Submit message:
Correct structure member's name.
Index: sys/usb/src.km/usb.h
===================================================================
RCS file: /mint/freemint/sys/usb/src.km/usb.h,v
retrieving revision 1.15
diff -u -8 -r1.15 usb.h
--- sys/usb/src.km/usb.h 16 Jul 2014 16:31:42 -0000 1.15
+++ sys/usb/src.km/usb.h 1 Oct 2014 09:44:10 -0000
@@ -153,17 +153,17 @@
{
unsigned char bLength;
unsigned char bDescriptorType;
unsigned short wTotalLength;
unsigned char bNumInterfaces;
unsigned char bConfigurationValue;
unsigned char iConfiguration;
unsigned char bmAttributes;
- unsigned char MaxPower;
+ unsigned char bMaxPower;
} __attribute__ ((packed));
struct usb_config {
struct usb_config_descriptor desc;
unsigned char no_of_if; /* number of interfaces */
struct usb_interface if_desc[USB_MAXINTERFACES];
} __attribute__ ((packed));