summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorJames Bottomley <jejb@titanic.(none)>2005-07-14 18:54:17 +0200
committerJames Bottomley <jejb@titanic.(none)>2005-07-14 18:54:17 +0200
commite10fb91c4dc81a4ae47caf0828df152f600f2546 (patch)
treed10758f4a6b59a80157595138c02bc6f9aa993f1 /include/scsi
parent[SCSI] Redundant this_count check in sd_init_command() (diff)
downloadlinux-e10fb91c4dc81a4ae47caf0828df152f600f2546.tar.xz
linux-e10fb91c4dc81a4ae47caf0828df152f600f2546.zip
[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>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi_device.h2
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 @@
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