diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-03-17 20:42:23 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-28 06:11:33 -0400 |
commit | 9f6620a318e87d73f8ce3daa7f84efc739d1fa2d (patch) | |
tree | 066aec1daa60668df713f0f489f13799d2658457 /drivers/scsi/sun3_scsi.h | |
parent | a469dc2765dca3c07ae356b21e0cd95178249251 (diff) |
scsi/NCR5380: reduce depth of sun3_scsi nested includes
Move the #include "NCR5380.h" out of the sun3_scsi.h header file and into
the driver .c files, like all the other NCR5380 drivers in the tree.
This improves uniformity and reduces the depth of nested includes. The
sequence of #include's, #define's and #if's no longer does my head in.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Sam Creasey <sammy@sammy.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/sun3_scsi.h')
-rw-r--r-- | drivers/scsi/sun3_scsi.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/scsi/sun3_scsi.h b/drivers/scsi/sun3_scsi.h index 5d2ca648657f..e96a37cf06ac 100644 --- a/drivers/scsi/sun3_scsi.h +++ b/drivers/scsi/sun3_scsi.h | |||
@@ -29,8 +29,8 @@ | |||
29 | * 1+ (800) 334-5454 | 29 | * 1+ (800) 334-5454 |
30 | */ | 30 | */ |
31 | 31 | ||
32 | #ifndef SUN3_NCR5380_H | 32 | #ifndef SUN3_SCSI_H |
33 | #define SUN3_NCR5380_H | 33 | #define SUN3_SCSI_H |
34 | 34 | ||
35 | #define SUN3SCSI_PUBLIC_RELEASE 1 | 35 | #define SUN3SCSI_PUBLIC_RELEASE 1 |
36 | 36 | ||
@@ -182,7 +182,5 @@ struct sun3_udc_regs { | |||
182 | 182 | ||
183 | #define VME_DATA24 0x3d00 | 183 | #define VME_DATA24 0x3d00 |
184 | 184 | ||
185 | #include "NCR5380.h" | 185 | #endif /* SUN3_SCSI_H */ |
186 | |||
187 | #endif /* SUN3_NCR5380_H */ | ||
188 | 186 | ||