diff options
author | Olaf Hering <olh@suse.de> | 2005-07-27 14:45:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:08 -0400 |
commit | 44456d37b59d8e541936ed26d8b6e08d27e88ac1 (patch) | |
tree | 11ca6fa29b8cfb56ecef2d1f4f9dc2d9d71d2a2f /drivers/scsi/NCR53c406a.c | |
parent | 02b775696fee75a04041d8d94db26a9462216d24 (diff) |
[PATCH] turn many #if $undefined_string into #ifdef $undefined_string
turn many #if $undefined_string into #ifdef $undefined_string to fix some
warnings after -Wno-def was added to global CFLAGS
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/NCR53c406a.c')
-rw-r--r-- | drivers/scsi/NCR53c406a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/NCR53c406a.c b/drivers/scsi/NCR53c406a.c index b2002ba6e2aa..79ae73b23680 100644 --- a/drivers/scsi/NCR53c406a.c +++ b/drivers/scsi/NCR53c406a.c | |||
@@ -182,13 +182,13 @@ static int irq_probe(void); | |||
182 | static void *bios_base; | 182 | static void *bios_base; |
183 | #endif | 183 | #endif |
184 | 184 | ||
185 | #if PORT_BASE | 185 | #ifdef PORT_BASE |
186 | static int port_base = PORT_BASE; | 186 | static int port_base = PORT_BASE; |
187 | #else | 187 | #else |
188 | static int port_base; | 188 | static int port_base; |
189 | #endif | 189 | #endif |
190 | 190 | ||
191 | #if IRQ_LEV | 191 | #ifdef IRQ_LEV |
192 | static int irq_level = IRQ_LEV; | 192 | static int irq_level = IRQ_LEV; |
193 | #else | 193 | #else |
194 | static int irq_level = -1; /* 0 is 'no irq', so use -1 for 'uninitialized' */ | 194 | static int irq_level = -1; /* 0 is 'no irq', so use -1 for 'uninitialized' */ |