diff options
Diffstat (limited to 'drivers/usb/gadget/pxa27x_udc.c')
-rw-r--r-- | drivers/usb/gadget/pxa27x_udc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c index 944e4ff641df..990f40f988d4 100644 --- a/drivers/usb/gadget/pxa27x_udc.c +++ b/drivers/usb/gadget/pxa27x_udc.c | |||
@@ -430,7 +430,6 @@ static void pio_irq_enable(struct pxa_ep *ep) | |||
430 | /** | 430 | /** |
431 | * pio_irq_disable - Disables irq generation for one endpoint | 431 | * pio_irq_disable - Disables irq generation for one endpoint |
432 | * @ep: udc endpoint | 432 | * @ep: udc endpoint |
433 | * @index: endpoint number | ||
434 | */ | 433 | */ |
435 | static void pio_irq_disable(struct pxa_ep *ep) | 434 | static void pio_irq_disable(struct pxa_ep *ep) |
436 | { | 435 | { |
@@ -586,7 +585,6 @@ static void inc_ep_stats_reqs(struct pxa_ep *ep, int is_in) | |||
586 | * inc_ep_stats_bytes - Update ep stats counts | 585 | * inc_ep_stats_bytes - Update ep stats counts |
587 | * @ep: physical endpoint | 586 | * @ep: physical endpoint |
588 | * @count: bytes transfered on endpoint | 587 | * @count: bytes transfered on endpoint |
589 | * @req: usb request | ||
590 | * @is_in: ep direction (USB_DIR_IN or 0) | 588 | * @is_in: ep direction (USB_DIR_IN or 0) |
591 | */ | 589 | */ |
592 | static void inc_ep_stats_bytes(struct pxa_ep *ep, int count, int is_in) | 590 | static void inc_ep_stats_bytes(struct pxa_ep *ep, int count, int is_in) |
@@ -2162,7 +2160,7 @@ static struct pxa_udc memory = { | |||
2162 | .ep0 = &memory.udc_usb_ep[0].usb_ep, | 2160 | .ep0 = &memory.udc_usb_ep[0].usb_ep, |
2163 | .name = driver_name, | 2161 | .name = driver_name, |
2164 | .dev = { | 2162 | .dev = { |
2165 | .bus_id = "gadget", | 2163 | .init_name = "gadget", |
2166 | }, | 2164 | }, |
2167 | }, | 2165 | }, |
2168 | 2166 | ||