Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Geert Uytterhoeven and committed by
James Bottomley
0cb8cd76 19b6c51c

+1 -1
+1 -1
drivers/scsi/sun3_NCR5380.c
··· 1445 1445 local_irq_restore(flags); 1446 1446 1447 1447 /* Wait for arbitration logic to complete */ 1448 - #if NCR_TIMEOUT 1448 + #ifdef NCR_TIMEOUT 1449 1449 { 1450 1450 unsigned long timeout = jiffies + 2*NCR_TIMEOUT; 1451 1451