USB: Change names of SuperSpeed ep companion descriptor structs.

Differentiate between SuperSpeed endpoint companion descriptor and the
wireless USB endpoint companion descriptor.  Make all structure names for
this descriptor have "ss" (SuperSpeed) in them.  David Vrabel asked for
this change in http://marc.info/?l=linux-usb&m=124091465109367&w=2

Reported-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Sarah Sharp
2009-04-29 19:06:20 -07:00
committed by Greg Kroah-Hartman
parent b7116ebca4
commit f0058c6278
4 changed files with 29 additions and 27 deletions

View File

@@ -538,7 +538,7 @@ static inline int usb_endpoint_is_isoc_out(
/*-------------------------------------------------------------------------*/
/* USB_DT_SS_ENDPOINT_COMP: SuperSpeed Endpoint Companion descriptor */
struct usb_ep_comp_descriptor {
struct usb_ss_ep_comp_descriptor {
__u8 bLength;
__u8 bDescriptorType;
@@ -547,7 +547,7 @@ struct usb_ep_comp_descriptor {
__u16 wBytesPerInterval;
} __attribute__ ((packed));
#define USB_DT_EP_COMP_SIZE 6
#define USB_DT_SS_EP_COMP_SIZE 6
/*-------------------------------------------------------------------------*/