]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pcmcia/at91_cf.c
fat: mmu_private race fix
[linux-2.6-omap-h63xx.git] / drivers / pcmcia / at91_cf.c
index a0ffb8ebfe00765cdf6fcf84e94f5dd5662844ee..9e1140f085fdfb70adca24d75e33d2a5b007b8e7 100644 (file)
@@ -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)