Commit:     a9b7320294f885be6087bdef7a0e25922c36eb1b
Parent:     e790b3dd2b59e2418923fa0122d53e57ffa5a868
Author:     Rolf Eike Beer <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 16 01:46:25 2007 -0800
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Fri Feb 16 10:14:42 2007 -0600

    [SCSI] scsi_transport.h should include scsi_device.h
    scsi_transport.h defines the inline function scsi_transport_device_data() 
    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 <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
 include/scsi/scsi_transport.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/scsi/scsi_transport.h b/include/scsi/scsi_transport.h
index cca1d49..3c18baa 100644
--- a/include/scsi/scsi_transport.h
+++ b/include/scsi/scsi_transport.h
@@ -22,6 +22,7 @@
 #include <linux/transport_class.h>
 #include <scsi/scsi_host.h>
+#include <scsi/scsi_device.h>
 struct scsi_transport_template {
        /* the attribute containers */
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to