summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_device.h
diff options
context:
space:
mode:
authorJames Bottomley <jejb@titanic.(none)>2005-07-14 11:54:17 -0500
committerJames Bottomley <jejb@titanic.(none)>2005-07-14 11:54:17 -0500
commite10fb91c4dc81a4ae47caf0828df152f600f2546 (patch)
treed10758f4a6b59a80157595138c02bc6f9aa993f1 /include/scsi/scsi_device.h
parent7fce2cf62e4bd9c24717009865ac00940cb664b8 (diff)
downloadop-kernel-dev-e10fb91c4dc81a4ae47caf0828df152f600f2546.zip
op-kernel-dev-e10fb91c4dc81a4ae47caf0828df152f600f2546.tar.gz
[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/scsi_device.h')
-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 223f92f..835af8e 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
OpenPOWER on IntegriCloud