Browse Source

[SCSI] Make scsi_transport_spi.h includable by itself

Add forward declarations to allow scsi_transport_spi.h to be compiled by
itself.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Matthew Wilcox 19 years ago
parent
commit
829b84675e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      include/scsi/scsi_transport_spi.h

+ 3 - 0
include/scsi/scsi_transport_spi.h

@@ -24,6 +24,9 @@
 #include <linux/transport_class.h>
 #include <linux/transport_class.h>
 
 
 struct scsi_transport_template;
 struct scsi_transport_template;
+struct scsi_target;
+struct scsi_device;
+struct Scsi_Host;
 
 
 struct spi_transport_attrs {
 struct spi_transport_attrs {
 	int period;		/* value in the PPR/SDTR command */
 	int period;		/* value in the PPR/SDTR command */