diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-10 20:01:30 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-03-21 22:09:28 +1100 |
commit | 6c8343e82bec46ece4fe773304a84c7fd57fdd8d (patch) | |
tree | 10d4380717b894e3367ea37a5f36c6a390571fae | |
parent | 58f169139e9692e290a7d5d9b034b79ee20d06b3 (diff) | |
download | linux-stable-6c8343e82bec46ece4fe773304a84c7fd57fdd8d.tar.gz linux-stable-6c8343e82bec46ece4fe773304a84c7fd57fdd8d.tar.bz2 linux-stable-6c8343e82bec46ece4fe773304a84c7fd57fdd8d.zip |
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: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r-- | drivers/pcmcia/electra_cf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pcmcia/electra_cf.c b/drivers/pcmcia/electra_cf.c index 4d7bc3f4124a..c6fe2a4a7a6a 100644 --- a/drivers/pcmcia/electra_cf.c +++ b/drivers/pcmcia/electra_cf.c @@ -207,7 +207,7 @@ static int electra_cf_probe(struct platform_device *ofdev) return -ENOMEM; setup_timer(&cf->timer, electra_cf_timer, (unsigned long)cf); - cf->irq = NO_IRQ; + cf->irq = 0; cf->ofdev = ofdev; cf->mem_phys = mem.start; @@ -313,7 +313,7 @@ fail3: fail2: release_mem_region(cf->mem_phys, cf->mem_size); fail1: - if (cf->irq != NO_IRQ) + if (cf->irq) free_irq(cf->irq, cf); if (cf->io_virt) |