summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aha152x.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-19 20:49:54 -0700
committerIngo Molnar <mingo@elte.hu>2008-10-16 16:52:06 +0200
commit171ac6ae94e31d0fcb5ae922efd4a77a7e48b4e5 (patch)
tree416216c6e98f8599906dfcba7fe7aa315b0d9e3e /drivers/scsi/aha152x.c
parentc7576b5b339f08c7346591c71a330b08f8b9943f (diff)
downloadop-kernel-dev-171ac6ae94e31d0fcb5ae922efd4a77a7e48b4e5.zip
op-kernel-dev-171ac6ae94e31d0fcb5ae922efd4a77a7e48b4e5.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c
index b5a868d..1e5478a 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
OpenPOWER on IntegriCloud