|
@@ -240,6 +240,14 @@ struct Conf
|
|
|
* within a configuration.
|
|
|
* These are unknown to the library but handed to the driver.
|
|
|
*/
|
|
|
+struct DDesc
|
|
|
+{
|
|
|
+ uchar bLength;
|
|
|
+ uchar bDescriptorType;
|
|
|
+ uchar bbytes[1];
|
|
|
+ /* extra bytes allocated here to keep the rest of it */
|
|
|
+};
|
|
|
+
|
|
|
struct Desc
|
|
|
{
|
|
|
Conf* conf; /* where this descriptor was read */
|
|
@@ -249,14 +257,6 @@ struct Desc
|
|
|
DDesc data; /* unparsed standard USB descriptor */
|
|
|
};
|
|
|
|
|
|
-struct DDesc
|
|
|
-{
|
|
|
- uchar bLength;
|
|
|
- uchar bDescriptorType;
|
|
|
- uchar bbytes[1];
|
|
|
- /* extra bytes allocated here to keep the rest of it */
|
|
|
-};
|
|
|
-
|
|
|
/*
|
|
|
* layout of standard descriptor types
|
|
|
*/
|