Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
goto fail0d;
cf->socket.pci_irq = board->irq_pin;
} else
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)
/* pcmcia layer only remaps "real" memory not iospace */
cf->socket.io_offset = (unsigned long)
int irq;
options += 4;
irq = simple_strtoul(options, &options, 0);
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 != ',')
vrc4171_irq = irq;
if (*options != ',')