]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
usb: pxa27x_udc: remove IRQ_USB define
authorRob Herring <rob.herring@calxeda.com>
Tue, 28 Aug 2012 20:05:08 +0000 (15:05 -0500)
committerRob Herring <rob.herring@calxeda.com>
Fri, 14 Sep 2012 14:21:56 +0000 (09:21 -0500)
IRQ_USB was implicitly included by gpio.h. Use the existing variable
instead of IRQ_USB.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/pxa27x_udc.c

index 644b4305cb99fe1653ac8f9d0b5021ac4d8945a1..7a8713cda945ca928a295dad2efa4c2f32675b83 100644 (file)
@@ -2508,7 +2508,7 @@ static int __init pxa_udc_probe(struct platform_device *pdev)
                        IRQF_SHARED, driver_name, udc);
        if (retval != 0) {
                dev_err(udc->dev, "%s: can't get irq %i, err %d\n",
-                       driver_name, IRQ_USB, retval);
+                       driver_name, udc->irq, retval);
                goto err_irq;
        }
        retval = usb_add_gadget_udc(&pdev->dev, &udc->gadget);