mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-11 23:27:42 +07: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
@ -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 New Issue
Block a user