diff options
Diffstat (limited to 'drivers/usb/gadget/at91_udc.c')
-rw-r--r-- | drivers/usb/gadget/at91_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c index 143a7256b598..15a8cdb2ded5 100644 --- a/drivers/usb/gadget/at91_udc.c +++ b/drivers/usb/gadget/at91_udc.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/clk.h> | 29 | #include <linux/clk.h> |
30 | #include <linux/usb/ch9.h> | 30 | #include <linux/usb/ch9.h> |
31 | #include <linux/usb/gadget.h> | 31 | #include <linux/usb/gadget.h> |
32 | #include <linux/prefetch.h> | ||
33 | 32 | ||
34 | #include <asm/byteorder.h> | 33 | #include <asm/byteorder.h> |
35 | #include <mach/hardware.h> | 34 | #include <mach/hardware.h> |
@@ -558,6 +557,7 @@ static int at91_ep_disable (struct usb_ep * _ep) | |||
558 | 557 | ||
559 | /* restore the endpoint's pristine config */ | 558 | /* restore the endpoint's pristine config */ |
560 | ep->desc = NULL; | 559 | ep->desc = NULL; |
560 | ep->ep.desc = NULL; | ||
561 | ep->ep.maxpacket = ep->maxpacket; | 561 | ep->ep.maxpacket = ep->maxpacket; |
562 | 562 | ||
563 | /* reset fifos and endpoint */ | 563 | /* reset fifos and endpoint */ |