diff options
Diffstat (limited to 'drivers/usb/gadget/imx_udc.h')
-rw-r--r-- | drivers/usb/gadget/imx_udc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/gadget/imx_udc.h b/drivers/usb/gadget/imx_udc.h index b48ad59603d1..7136c242b4ec 100644 --- a/drivers/usb/gadget/imx_udc.h +++ b/drivers/usb/gadget/imx_udc.h | |||
@@ -23,9 +23,6 @@ | |||
23 | /* Helper macros */ | 23 | /* Helper macros */ |
24 | #define EP_NO(ep) ((ep->bEndpointAddress) & ~USB_DIR_IN) /* IN:1, OUT:0 */ | 24 | #define EP_NO(ep) ((ep->bEndpointAddress) & ~USB_DIR_IN) /* IN:1, OUT:0 */ |
25 | #define EP_DIR(ep) ((ep->bEndpointAddress) & USB_DIR_IN ? 1 : 0) | 25 | #define EP_DIR(ep) ((ep->bEndpointAddress) & USB_DIR_IN ? 1 : 0) |
26 | #define irq_to_ep(irq) (((irq) >= USBD_INT0) || ((irq) <= USBD_INT6) \ | ||
27 | ? ((irq) - USBD_INT0) : (USBD_INT6)) /*should not happen*/ | ||
28 | #define ep_to_irq(ep) (EP_NO((ep)) + USBD_INT0) | ||
29 | #define IMX_USB_NB_EP 6 | 26 | #define IMX_USB_NB_EP 6 |
30 | 27 | ||
31 | /* Driver structures */ | 28 | /* Driver structures */ |