projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/include/scsi/scsi_device.h
b/include/scsi/scsi_device.h
index 223f92f4d2cbae44d760407565beab66448735b1..835af8ecbb7c874601351ca4ee4ecc81b6778101 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