projects
/
linux-edison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fce2cf
)
[SCSI] fix function prototype warning
author
James Bottomley
<jejb@titanic.(none)>
Thu, 14 Jul 2005 16:54:17 +0000
(11:54 -0500)
committer
James Bottomley
<jejb@titanic.(none)>
Thu, 14 Jul 2005 16:54:17 +0000
(11:54 -0500)
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>
include/scsi/scsi_device.h
patch
|
blob
|
history
diff --git
a/include/scsi/scsi_device.h
b/include/scsi/scsi_device.h
index
223f92f
..
835af8e
100644
(file)
--- 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