summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/at91_cf.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-19 20:49:52 -0700
committerIngo Molnar <mingo@elte.hu>2008-10-16 16:52:06 +0200
commit9130addad2fb2bbe1847f13c838438ff10a66d3a (patch)
treef6e393b6806191d6f168fc41b0bd43318f459c68 /drivers/pcmcia/at91_cf.c
parenta06148c36d3163aee4d5d2cad4e87032d74eaa6d (diff)
downloadop-kernel-dev-9130addad2fb2bbe1847f13c838438ff10a66d3a.zip
op-kernel-dev-9130addad2fb2bbe1847f13c838438ff10a66d3a.tar.gz
drivers/pcmcia: use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/pcmcia/at91_cf.c')
-rw-r--r--drivers/pcmcia/at91_cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/at91_cf.c b/drivers/pcmcia/at91_cf.c
index a0ffb8e..9e1140f 100644
--- a/drivers/pcmcia/at91_cf.c
+++ b/drivers/pcmcia/at91_cf.c
@@ -273,7 +273,7 @@ static int __init at91_cf_probe(struct platform_device *pdev)
goto fail0d;
cf->socket.pci_irq = board->irq_pin;
} else
- cf->socket.pci_irq = NR_IRQS + 1;
+ cf->socket.pci_irq = nr_irqs + 1;
/* pcmcia layer only remaps "real" memory not iospace */
cf->socket.io_offset = (unsigned long)
OpenPOWER on IntegriCloud