Commit ef614403 authored by Rob Herring's avatar Rob Herring

usb: pxa27x_udc: remove IRQ_USB define

IRQ_USB was implicitly included by gpio.h. Use the existing variable
instead of IRQ_USB.
Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarEric Miao <eric.y.miao@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c3058c27
...@@ -2508,7 +2508,7 @@ static int __init pxa_udc_probe(struct platform_device *pdev) ...@@ -2508,7 +2508,7 @@ static int __init pxa_udc_probe(struct platform_device *pdev)
IRQF_SHARED, driver_name, udc); IRQF_SHARED, driver_name, udc);
if (retval != 0) { if (retval != 0) {
dev_err(udc->dev, "%s: can't get irq %i, err %d\n", 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; goto err_irq;
} }
retval = usb_add_gadget_udc(&pdev->dev, &udc->gadget); retval = usb_add_gadget_udc(&pdev->dev, &udc->gadget);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment