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 0a1b6d10ab7a..e10cf3c63929 100644 --- a/drivers/usb/gadget/at91_udc.c +++ b/drivers/usb/gadget/at91_udc.c | |||
@@ -1810,7 +1810,7 @@ static int __init at91udc_probe(struct platform_device *pdev) | |||
1810 | /* request UDC and maybe VBUS irqs */ | 1810 | /* request UDC and maybe VBUS irqs */ |
1811 | udc->udp_irq = platform_get_irq(pdev, 0); | 1811 | udc->udp_irq = platform_get_irq(pdev, 0); |
1812 | retval = request_irq(udc->udp_irq, at91_udc_irq, | 1812 | retval = request_irq(udc->udp_irq, at91_udc_irq, |
1813 | IRQF_DISABLED, driver_name, udc); | 1813 | 0, driver_name, udc); |
1814 | if (retval < 0) { | 1814 | if (retval < 0) { |
1815 | DBG("request irq %d failed\n", udc->udp_irq); | 1815 | DBG("request irq %d failed\n", udc->udp_irq); |
1816 | goto fail1; | 1816 | goto fail1; |
@@ -1838,7 +1838,7 @@ static int __init at91udc_probe(struct platform_device *pdev) | |||
1838 | jiffies + VBUS_POLL_TIMEOUT); | 1838 | jiffies + VBUS_POLL_TIMEOUT); |
1839 | } else { | 1839 | } else { |
1840 | if (request_irq(udc->board.vbus_pin, at91_vbus_irq, | 1840 | if (request_irq(udc->board.vbus_pin, at91_vbus_irq, |
1841 | IRQF_DISABLED, driver_name, udc)) { | 1841 | 0, driver_name, udc)) { |
1842 | DBG("request vbus irq %d failed\n", | 1842 | DBG("request vbus irq %d failed\n", |
1843 | udc->board.vbus_pin); | 1843 | udc->board.vbus_pin); |
1844 | retval = -EBUSY; | 1844 | retval = -EBUSY; |