Commit 6c8343e8 authored by Michael Ellerman's avatar Michael Ellerman

drivers/pcmcia: NO_IRQ removal for electra_cf.c

We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it
from electra_cf.c which is a powerpc-only driver.
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 58f16913
...@@ -207,7 +207,7 @@ static int electra_cf_probe(struct platform_device *ofdev) ...@@ -207,7 +207,7 @@ static int electra_cf_probe(struct platform_device *ofdev)
return -ENOMEM; return -ENOMEM;
setup_timer(&cf->timer, electra_cf_timer, (unsigned long)cf); setup_timer(&cf->timer, electra_cf_timer, (unsigned long)cf);
cf->irq = NO_IRQ; cf->irq = 0;
cf->ofdev = ofdev; cf->ofdev = ofdev;
cf->mem_phys = mem.start; cf->mem_phys = mem.start;
...@@ -313,7 +313,7 @@ static int electra_cf_probe(struct platform_device *ofdev) ...@@ -313,7 +313,7 @@ static int electra_cf_probe(struct platform_device *ofdev)
fail2: fail2:
release_mem_region(cf->mem_phys, cf->mem_size); release_mem_region(cf->mem_phys, cf->mem_size);
fail1: fail1:
if (cf->irq != NO_IRQ) if (cf->irq)
free_irq(cf->irq, cf); free_irq(cf->irq, cf);
if (cf->io_virt) if (cf->io_virt)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment