diff options
author | Milan Svoboda <msvoboda@ra.rockwell.com> | 2007-02-27 04:20:09 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-03-09 22:52:23 -0500 |
commit | d2487cb4257dafb686f682285854fe7f02ca29d8 (patch) | |
tree | 691a03a1d37b77456952fae2daac3fdd39d048d9 /drivers/usb/gadget | |
parent | 88018158d1253ab4868a2f9204cc390c711fd9b9 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/pxa2xx_udc.c b/drivers/usb/gadget/pxa2xx_udc.c index f01890dc8751..571f3ebb70ab 100644 --- a/drivers/usb/gadget/pxa2xx_udc.c +++ b/drivers/usb/gadget/pxa2xx_udc.c | |||
@@ -2616,7 +2616,7 @@ lubbock_fail0: | |||
2616 | if (retval != 0) { | 2616 | if (retval != 0) { |
2617 | printk(KERN_ERR "%s: can't get irq %i, err %d\n", | 2617 | printk(KERN_ERR "%s: can't get irq %i, err %d\n", |
2618 | driver_name, vbus_irq, retval); | 2618 | driver_name, vbus_irq, retval); |
2619 | free_irq(IRQ_USB, dev); | 2619 | free_irq(irq, dev); |
2620 | return -EBUSY; | 2620 | return -EBUSY; |
2621 | } | 2621 | } |
2622 | } | 2622 | } |