Commit d2487cb4 authored by Milan Svoboda's avatar Milan Svoboda Committed by Greg Kroah-Hartman

USB: pxa2xx_udc: fix hardcoded irq number

This patch changes last use of hardcoded number of irq to
use platfrom_get_irq.
Signed-off-by: default avatarMilan Svoboda <msvoboda@ra.rockwell.com>
Acked-by: default avatarDavid Brownell <david-b@pacbell.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 88018158
...@@ -2616,7 +2616,7 @@ lubbock_fail0: ...@@ -2616,7 +2616,7 @@ lubbock_fail0:
if (retval != 0) { if (retval != 0) {
printk(KERN_ERR "%s: can't get irq %i, err %d\n", printk(KERN_ERR "%s: can't get irq %i, err %d\n",
driver_name, vbus_irq, retval); driver_name, vbus_irq, retval);
free_irq(IRQ_USB, dev); free_irq(irq, dev);
return -EBUSY; return -EBUSY;
} }
} }
......
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