提交 9f6620a3 编写于 作者: F Finn Thain 提交者: Christoph Hellwig

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: NFinn Thain <fthain@telegraphics.com.au>
Acked-by: NSam Creasey <sammy@sammy.net>
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 a469dc27
......@@ -71,6 +71,7 @@
#include "scsi.h"
#include <scsi/scsi_host.h>
#include "sun3_scsi.h"
#include "NCR5380.h"
/* #define OLDDMA */
......
......@@ -29,8 +29,8 @@
* 1+ (800) 334-5454
*/
#ifndef SUN3_NCR5380_H
#define SUN3_NCR5380_H
#ifndef SUN3_SCSI_H
#define SUN3_SCSI_H
#define SUN3SCSI_PUBLIC_RELEASE 1
......@@ -182,7 +182,5 @@ struct sun3_udc_regs {
#define VME_DATA24 0x3d00
#include "NCR5380.h"
#endif /* SUN3_NCR5380_H */
#endif /* SUN3_SCSI_H */
......@@ -42,6 +42,7 @@
#include "initio.h"
#include <scsi/scsi_host.h>
#include "sun3_scsi.h"
#include "NCR5380.h"
extern int sun3_map_test(unsigned long, char *);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册