From: Rolf Eike Beer Date: Fri, 16 Feb 2007 09:46:25 +0000 (-0800) Subject: [SCSI] scsi_transport.h should include scsi_device.h X-Git-Tag: v2.6.21-rc1~68^2~7 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=a9b7320294f885be6087bdef7a0e25922c36eb1b;p=powerpc.git [SCSI] scsi_transport.h should include scsi_device.h scsi_transport.h defines the inline function scsi_transport_device_data() that dereferences a pointer of "struct scsi_device *". Since the struct is not known by the header this might break compilation. Include scsi/scsi_device.h to not rely on users doing the correct magic include order. Signed-off-by: Rolf Eike Beer Signed-off-by: Andrew Morton Signed-off-by: James Bottomley --- diff --git a/include/scsi/scsi_transport.h b/include/scsi/scsi_transport.h index cca1d4926d..3c18baa65a 100644 --- a/include/scsi/scsi_transport.h +++ b/include/scsi/scsi_transport.h @@ -22,6 +22,7 @@ #include #include +#include struct scsi_transport_template { /* the attribute containers */