summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2005-12-13 18:29:31 +0100
committerJames Bottomley <jejb@mulgrave.(none)>2005-12-14 02:54:40 +0100
commit829b84675edbe05f11c289946216da4f5c6b8e94 (patch)
tree28ca0952c330ea3fc5dcb95603568d20aae56687 /include/scsi
parent[SCSI] sd: Always do write-protect check (diff)
downloadlinux-829b84675edbe05f11c289946216da4f5c6b8e94.tar.xz
linux-829b84675edbe05f11c289946216da4f5c6b8e94.zip
[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>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi_transport_spi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_spi.h b/include/scsi/scsi_transport_spi.h
index 6bdc4afb2483..5c9b2e56e5b4 100644
--- a/include/scsi/scsi_transport_spi.h
+++ b/include/scsi/scsi_transport_spi.h
@@ -24,6 +24,9 @@
#include <linux/transport_class.h>
struct scsi_transport_template;
+struct scsi_target;
+struct scsi_device;
+struct Scsi_Host;
struct spi_transport_attrs {
int period; /* value in the PPR/SDTR command */