diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 20:49:54 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 16:52:06 +0200 |
commit | 171ac6ae94e31d0fcb5ae922efd4a77a7e48b4e5 (patch) | |
tree | 416216c6e98f8599906dfcba7fe7aa315b0d9e3e /drivers/scsi/aha152x.c | |
parent | c7576b5b339f08c7346591c71a330b08f8b9943f (diff) | |
download | linux-171ac6ae94e31d0fcb5ae922efd4a77a7e48b4e5.tar.gz linux-171ac6ae94e31d0fcb5ae922efd4a77a7e48b4e5.tar.bz2 linux-171ac6ae94e31d0fcb5ae922efd4a77a7e48b4e5.zip |
drivers/scsi: use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/scsi/aha152x.c')
-rw-r--r-- | drivers/scsi/aha152x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c index b5a868d85eb4..1e5478abd90e 100644 --- a/drivers/scsi/aha152x.c +++ b/drivers/scsi/aha152x.c @@ -337,7 +337,7 @@ CMD_INC_RESID(struct scsi_cmnd *cmd, int inc) #else #define IRQ_MIN 9 #if defined(__PPC) -#define IRQ_MAX (NR_IRQS-1) +#define IRQ_MAX (nr_irqs-1) #else #define IRQ_MAX 12 #endif |