aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorMilan Svoboda <msvoboda@ra.rockwell.com>2007-02-27 09:20:09 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2007-03-09 19:52:23 -0800
commitd2487cb4257dafb686f682285854fe7f02ca29d8 (patch)
tree691a03a1d37b77456952fae2daac3fdd39d048d9 /drivers/usb/gadget
parent88018158d1253ab4868a2f9204cc390c711fd9b9 (diff)
downloadkernel_samsung_espresso10-d2487cb4257dafb686f682285854fe7f02ca29d8.zip
kernel_samsung_espresso10-d2487cb4257dafb686f682285854fe7f02ca29d8.tar.gz
kernel_samsung_espresso10-d2487cb4257dafb686f682285854fe7f02ca29d8.tar.bz2
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 <msvoboda@ra.rockwell.com> Acked-by: David Brownell <david-b@pacbell.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/pxa2xx_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/pxa2xx_udc.c b/drivers/usb/gadget/pxa2xx_udc.c
index f01890d..571f3eb 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;
}
}