diff options
-rw-r--r-- | drivers/pcmcia/pcmcia_resource.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pcmcia/pcmcia_resource.c b/drivers/pcmcia/pcmcia_resource.c index 599b116d9747..c0f4eb49177b 100644 --- a/drivers/pcmcia/pcmcia_resource.c +++ b/drivers/pcmcia/pcmcia_resource.c | |||
@@ -832,7 +832,8 @@ int pcmcia_request_irq(struct pcmcia_device *p_dev, irq_req_t *req) | |||
832 | } | 832 | } |
833 | } | 833 | } |
834 | #endif | 834 | #endif |
835 | if (ret) { | 835 | /* only assign PCI irq if no IRQ already assigned */ |
836 | if (ret && !s->irq.AssignedIRQ) { | ||
836 | if (!s->pci_irq) | 837 | if (!s->pci_irq) |
837 | return ret; | 838 | return ret; |
838 | irq = s->pci_irq; | 839 | irq = s->pci_irq; |