From: Luiz Fernando N. Capitulino Date: Thu, 26 Oct 2006 16:02:58 +0000 (-0300) Subject: USB: speedtch: Use usb_endpoint_* functions X-Git-Tag: v2.6.20-rc2~6^2~13^2~477^2~81 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=c5dd1f94246acdf6be6796db47efba8b2a93f93e;p=~shefty%2Frdma-dev.git USB: speedtch: Use usb_endpoint_* functions Signed-off-by: Luiz Fernando N. Capitulino Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c index c870c804470..a823486495c 100644 --- a/drivers/usb/atm/speedtch.c +++ b/drivers/usb/atm/speedtch.c @@ -834,8 +834,8 @@ static int speedtch_bind(struct usbatm_data *usbatm, const struct usb_endpoint_descriptor *endpoint_desc = &desc->endpoint[i].desc; if ((endpoint_desc->bEndpointAddress == target_address)) { - use_isoc = (endpoint_desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == - USB_ENDPOINT_XFER_ISOC; + use_isoc = + usb_endpoint_xfer_isoc(endpoint_desc); break; } }