Browse Source

[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 <James.Bottomley@SteelEye.com>
James Bottomley 20 years ago
parent
commit
e10fb91c4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/scsi/scsi_device.h

+ 1 - 1
include/scsi/scsi_device.h

@@ -9,7 +9,7 @@
 struct request_queue;
 struct request_queue;
 struct scsi_cmnd;
 struct scsi_cmnd;
 struct scsi_mode_data;
 struct scsi_mode_data;
-
+struct scsi_lun;
 
 
 /*
 /*
  * sdev state: If you alter this, you also need to alter scsi_sysfs.c
  * sdev state: If you alter this, you also need to alter scsi_sysfs.c