diff options
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r-- | drivers/pcmcia/pcmcia_resource.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/pcmcia/pcmcia_resource.c b/drivers/pcmcia/pcmcia_resource.c index b2df04199a21..ef782c09f029 100644 --- a/drivers/pcmcia/pcmcia_resource.c +++ b/drivers/pcmcia/pcmcia_resource.c | |||
@@ -752,14 +752,6 @@ int pcmcia_request_irq(struct pcmcia_device *p_dev, irq_req_t *req) | |||
752 | 752 | ||
753 | #ifdef CONFIG_PCMCIA_PROBE | 753 | #ifdef CONFIG_PCMCIA_PROBE |
754 | 754 | ||
755 | #ifdef IRQ_NOAUTOEN | ||
756 | /* if the underlying IRQ infrastructure allows for it, only allocate | ||
757 | * the IRQ, but do not enable it | ||
758 | */ | ||
759 | if (!(req->Handler)) | ||
760 | type |= IRQ_NOAUTOEN; | ||
761 | #endif /* IRQ_NOAUTOEN */ | ||
762 | |||
763 | if (s->irq.AssignedIRQ != 0) { | 755 | if (s->irq.AssignedIRQ != 0) { |
764 | /* If the interrupt is already assigned, it must be the same */ | 756 | /* If the interrupt is already assigned, it must be the same */ |
765 | irq = s->irq.AssignedIRQ; | 757 | irq = s->irq.AssignedIRQ; |