Merge branches 'sh/serial-rework' and 'sh/oprofile'
[pandora-kernel.git] / drivers / pcmcia / vrc4171_card.c
index eee2f1c..b2c4124 100644 (file)
@@ -639,7 +639,7 @@ static int __devinit vrc4171_card_setup(char *options)
                int irq;
                options += 4;
                irq = simple_strtoul(options, &options, 0);
-               if (irq >= 0 && irq < NR_IRQS)
+               if (irq >= 0 && irq < nr_irqs)
                        vrc4171_irq = irq;
 
                if (*options != ',')