From: James Bottomley Date: Thu, 14 Jul 2005 16:54:17 +0000 (-0500) Subject: [SCSI] fix function prototype warning X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e10fb91c4dc81a4ae47caf0828df152f600f2546;p=deliverable%2Flinux.git [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 --- 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