Skip to contentSkip to conversation

Make scsi_transport_spi.h includable by itself

PATCH New Matthew Wilcox 1 participant 1 message Dec 13, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make scsi_transport_spi.h includable by itself

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

include/scsi/scsi_transport_spi.h +3 -0
index 6bdc4af..5c9b2e5 100644
@@ -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 */