diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-06-13 14:39:20 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-06-29 16:14:38 -0400 |
commit | 0cb8cd76aa6fc759de3b59f4dd5ab5ed6c3a1149 (patch) | |
tree | 1850ee01fe461a8e9cda188df8e71e47c2df89d3 /drivers/scsi/sun3_NCR5380.c | |
parent | 19b6c51cf05656c9dd970164be52b120162391bf (diff) |
[SCSI] sun3: Check for NCR_TIMEOUT being defined instead of having a value
This fixes:
drivers/scsi/sun3_NCR5380.c:1448:5: warning: "NCR_TIMEOUT" is not defined
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/sun3_NCR5380.c')
-rw-r--r-- | drivers/scsi/sun3_NCR5380.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sun3_NCR5380.c b/drivers/scsi/sun3_NCR5380.c index 2ba1cb781091..f3cffdf5a011 100644 --- a/drivers/scsi/sun3_NCR5380.c +++ b/drivers/scsi/sun3_NCR5380.c | |||
@@ -1445,7 +1445,7 @@ static int NCR5380_select(struct Scsi_Host *instance, struct scsi_cmnd *cmd, | |||
1445 | local_irq_restore(flags); | 1445 | local_irq_restore(flags); |
1446 | 1446 | ||
1447 | /* Wait for arbitration logic to complete */ | 1447 | /* Wait for arbitration logic to complete */ |
1448 | #if NCR_TIMEOUT | 1448 | #ifdef NCR_TIMEOUT |
1449 | { | 1449 | { |
1450 | unsigned long timeout = jiffies + 2*NCR_TIMEOUT; | 1450 | unsigned long timeout = jiffies + 2*NCR_TIMEOUT; |
1451 | 1451 | ||