tree d10758f4a6b59a80157595138c02bc6f9aa993f1
parent 7fce2cf62e4bd9c24717009865ac00940cb664b8
author James Bottomley <[EMAIL PROTECTED](none)> Thu, 14 Jul 2005 21:54:17 -0500
committer James Bottomley <[EMAIL PROTECTED](none)> Thu, 14 Jul 2005 21:54:17 
-0500

[SCSI] fix function prototype warning

int_to_scsilun() takes a pointer to a struct scsi_lun in it's
prototype, so add this structure to scsi_device.h to avoid declaration
inside function prototype warnings.

Signed-off-by: James Bottomley <[EMAIL PROTECTED]>

 include/scsi/scsi_device.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h
--- a/include/scsi/scsi_device.h
+++ b/include/scsi/scsi_device.h
@@ -9,7 +9,7 @@
 struct request_queue;
 struct scsi_cmnd;
 struct scsi_mode_data;
-
+struct scsi_lun;
 
 /*
  * sdev state: If you alter this, you also need to alter scsi_sysfs.c
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to