diff options
Diffstat (limited to 'drivers/usb/gadget/at91_udc.c')
-rw-r--r-- | drivers/usb/gadget/at91_udc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c index 5d352c900d2c..9b913afb2e6d 100644 --- a/drivers/usb/gadget/at91_udc.c +++ b/drivers/usb/gadget/at91_udc.c | |||
@@ -460,7 +460,7 @@ static void nuke(struct at91_ep *ep, int status) | |||
460 | if (list_empty(&ep->queue)) | 460 | if (list_empty(&ep->queue)) |
461 | return; | 461 | return; |
462 | 462 | ||
463 | VDBG("%s %s\n", __FUNCTION__, ep->ep.name); | 463 | VDBG("%s %s\n", __func__, ep->ep.name); |
464 | while (!list_empty(&ep->queue)) { | 464 | while (!list_empty(&ep->queue)) { |
465 | req = list_entry(ep->queue.next, struct at91_request, queue); | 465 | req = list_entry(ep->queue.next, struct at91_request, queue); |
466 | done(ep, req, status); | 466 | done(ep, req, status); |
@@ -795,7 +795,7 @@ static int at91_wakeup(struct usb_gadget *gadget) | |||
795 | int status = -EINVAL; | 795 | int status = -EINVAL; |
796 | unsigned long flags; | 796 | unsigned long flags; |
797 | 797 | ||
798 | DBG("%s\n", __FUNCTION__ ); | 798 | DBG("%s\n", __func__ ); |
799 | local_irq_save(flags); | 799 | local_irq_save(flags); |
800 | 800 | ||
801 | if (!udc->clocked || !udc->suspended) | 801 | if (!udc->clocked || !udc->suspended) |