diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-20 03:49:49 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 14:52:05 (GMT) |
commit | 1f45f5621df82033cb4964d03530ade2f9a25e7b (patch) | |
tree | 4f536a6df75a0d0885853c8baabbc7108d54bce3 /drivers/char/vr41xx_giu.c | |
parent | 0799e432acfda879eaeef9622426bfa1434f3786 (diff) | |
download | linux-fsl-qoriq-1f45f5621df82033cb4964d03530ade2f9a25e7b.tar.xz |
drivers/char: use nr_irqs
convert them to nr_irqs.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/char/vr41xx_giu.c')
-rw-r--r-- | drivers/char/vr41xx_giu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/vr41xx_giu.c b/drivers/char/vr41xx_giu.c index ffe9b4e..54c8372 100644 --- a/drivers/char/vr41xx_giu.c +++ b/drivers/char/vr41xx_giu.c @@ -641,7 +641,7 @@ static int __devinit giu_probe(struct platform_device *dev) } irq = platform_get_irq(dev, 0); - if (irq < 0 || irq >= NR_IRQS) + if (irq < 0 || irq >= nr_irqs) return -EBUSY; return cascade_irq(irq, giu_get_irq); |