diff options
author | Milan Svoboda <msvoboda@ra.rockwell.com> | 2007-02-27 04:20:09 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 16:28:33 -0400 |
commit | 08a78cbb410032a025e0323bcfb12b348fc7a389 (patch) | |
tree | 07531a7cbed57bc981db4d3297a30d129cb05bf5 | |
parent | 34ebcd28235dc58633eeb8f7ca603838af23df0d (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>
-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 1096a30d18c1..2c043a1ea156 100644 --- a/drivers/usb/gadget/pxa2xx_udc.c +++ b/drivers/usb/gadget/pxa2xx_udc.c | |||
@@ -2607,7 +2607,7 @@ lubbock_fail0: | |||
2607 | if (retval != 0) { | 2607 | if (retval != 0) { |
2608 | printk(KERN_ERR "%s: can't get irq %i, err %d\n", | 2608 | printk(KERN_ERR "%s: can't get irq %i, err %d\n", |
2609 | driver_name, vbus_irq, retval); | 2609 | driver_name, vbus_irq, retval); |
2610 | free_irq(IRQ_USB, dev); | 2610 | free_irq(irq, dev); |
2611 | return -EBUSY; | 2611 | return -EBUSY; |
2612 | } | 2612 | } |
2613 | } | 2613 | } |