summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/musb_hcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/musb/musb_hcd.h')
-rw-r--r--drivers/usb/musb/musb_hcd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_hcd.h b/drivers/usb/musb/musb_hcd.h
index 17e9091..a437985 100644
--- a/drivers/usb/musb/musb_hcd.h
+++ b/drivers/usb/musb/musb_hcd.h
@@ -38,7 +38,9 @@ extern unsigned char new[];
#define MUSB_CONTROL_EP 0
/* This defines the endpoint number used for bulk transfer */
-#define MUSB_BULK_EP 1
+#ifndef MUSB_BULK_EP
+# define MUSB_BULK_EP 1
+#endif
/* This defines the endpoint number used for interrupt transfer */
#define MUSB_INTR_EP 2