diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-20 03:49:50 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 14:52:05 (GMT) |
commit | 60e4ad7a72fd7ce562cdf8dd850289e1e76bc1b1 (patch) | |
tree | 8d105cf96a58cafc668174daf6501f9ef0ad1481 /drivers/net/wan | |
parent | 1f45f5621df82033cb4964d03530ade2f9a25e7b (diff) | |
download | linux-60e4ad7a72fd7ce562cdf8dd850289e1e76bc1b1.tar.xz |
drivers/net: use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/net/wan')
-rw-r--r-- | drivers/net/wan/sbni.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c index f972fef..ee51b6a 100644 --- a/drivers/net/wan/sbni.c +++ b/drivers/net/wan/sbni.c @@ -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" |