Commit 0cb8cd76 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by James Bottomley

[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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 19b6c51c
...@@ -1445,7 +1445,7 @@ static int NCR5380_select(struct Scsi_Host *instance, struct scsi_cmnd *cmd, ...@@ -1445,7 +1445,7 @@ static int NCR5380_select(struct Scsi_Host *instance, struct scsi_cmnd *cmd,
local_irq_restore(flags); local_irq_restore(flags);
/* Wait for arbitration logic to complete */ /* Wait for arbitration logic to complete */
#if NCR_TIMEOUT #ifdef NCR_TIMEOUT
{ {
unsigned long timeout = jiffies + 2*NCR_TIMEOUT; unsigned long timeout = jiffies + 2*NCR_TIMEOUT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment