mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
[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>
This commit is contained in:
parent
19b6c51cf0
commit
0cb8cd76aa
1 changed files with 1 additions and 1 deletions
|
@ -1445,7 +1445,7 @@ static int NCR5380_select(struct Scsi_Host *instance, struct scsi_cmnd *cmd,
|
|||
local_irq_restore(flags);
|
||||
|
||||
/* Wait for arbitration logic to complete */
|
||||
#if NCR_TIMEOUT
|
||||
#ifdef NCR_TIMEOUT
|
||||
{
|
||||
unsigned long timeout = jiffies + 2*NCR_TIMEOUT;
|
||||
|
||||
|
|
Loading…
Reference in a new issue