diff options
| author | Matt Wagantall <mattw@codeaurora.org> | 2015-03-10 21:47:42 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:01:03 -0700 |
| commit | 914f992d79908170642fa8489ef089436e4fab34 (patch) | |
| tree | f7fc1b711badf83093dd513936e26c859480d042 /include | |
| parent | ccca370b3b934ff85553ec3b2369143ce02ce90a (diff) | |
scsi: include device.h in scsi.h
scsi.h reference 'struct device', the definition for which is not
included. Most users of this header compile because struct device
happens to be defined before scsi.h is included. Less-fortunate
drivers encounter:
linux/include/scsi/scsi.h:565:49: warning: 'struct device'
declared inside parameter list
Change-Id: I6352b0fc1d1ab296e500f6007b0b20be3b85a1f9
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
[venkatg@codeaurora.org: resolved trivial merge conflict]
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/scsi/scsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 8893685f8f94..0307e4163fed 100644 --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h @@ -8,6 +8,7 @@ #include <linux/types.h> #include <linux/scatterlist.h> #include <linux/kernel.h> +#include <linux/device.h> #include <scsi/scsi_common.h> #include <scsi/scsi_proto.h> |
