提交 ef614403 编写于 作者: R 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: NRob Herring <rob.herring@calxeda.com>
Acked-by: NEric Miao <eric.y.miao@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册