]> err.no Git - linux-2.6/commitdiff
[SCSI] fix function prototype warning
authorJames Bottomley <jejb@titanic.(none)>
Thu, 14 Jul 2005 16:54:17 +0000 (11:54 -0500)
committerJames Bottomley <jejb@titanic.(none)>
Thu, 14 Jul 2005 16:54:17 +0000 (11:54 -0500)
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 <James.Bottomley@SteelEye.com>
include/scsi/scsi_device.h

index 223f92f4d2cbae44d760407565beab66448735b1..835af8ecbb7c874601351ca4ee4ecc81b6778101 100644 (file)
@@ -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