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>
This commit is contained in:
parent
ccca370b3b
commit
914f992d79
1 changed files with 1 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue