From: Milan Svoboda Date: Tue, 27 Feb 2007 09:20:09 +0000 (+0000) Subject: USB: pxa2xx_udc: fix hardcoded irq number X-Git-Tag: v2.6.21-rc4~54^2~16 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d2487cb4257dafb686f682285854fe7f02ca29d8;p=linux-2.6-omap-h63xx.git 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: Milan Svoboda Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/pxa2xx_udc.c b/drivers/usb/gadget/pxa2xx_udc.c index f01890dc875..571f3ebb70a 100644 --- a/drivers/usb/gadget/pxa2xx_udc.c +++ b/drivers/usb/gadget/pxa2xx_udc.c @@ -2616,7 +2616,7 @@ lubbock_fail0: if (retval != 0) { printk(KERN_ERR "%s: can't get irq %i, err %d\n", driver_name, vbus_irq, retval); - free_irq(IRQ_USB, dev); + free_irq(irq, dev); return -EBUSY; } }