drivers/net: use nr_irqs

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Yinghai Lu
2008-08-19 20:49:50 -07:00
committed by Ingo Molnar
parent 1f45f5621d
commit 60e4ad7a72
4 changed files with 8 additions and 8 deletions

View File

@@ -318,7 +318,7 @@ sbni_pci_probe( struct net_device *dev )
continue;
}
if( pci_irq_line <= 0 || pci_irq_line >= NR_IRQS )
if (pci_irq_line <= 0 || pci_irq_line >= nr_irqs)
printk( KERN_WARNING " WARNING: The PCI BIOS assigned "
"this PCI card to IRQ %d, which is unlikely "
"to work!.\n"