diff options
author | James Bottomley <jejb@titanic.(none)> | 2005-07-14 12:54:17 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-07-14 12:54:17 -0400 |
commit | e10fb91c4dc81a4ae47caf0828df152f600f2546 (patch) | |
tree | d10758f4a6b59a80157595138c02bc6f9aa993f1 | |
parent | 7fce2cf62e4bd9c24717009865ac00940cb664b8 (diff) |
[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>
-rw-r--r-- | include/scsi/scsi_device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index 223f92f4d2cb..835af8ecbb7c 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h | |||
@@ -9,7 +9,7 @@ | |||
9 | struct request_queue; | 9 | struct request_queue; |
10 | struct scsi_cmnd; | 10 | struct scsi_cmnd; |
11 | struct scsi_mode_data; | 11 | struct scsi_mode_data; |
12 | 12 | struct scsi_lun; | |
13 | 13 | ||
14 | /* | 14 | /* |
15 | * sdev state: If you alter this, you also need to alter scsi_sysfs.c | 15 | * sdev state: If you alter this, you also need to alter scsi_sysfs.c |