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:
Matt Wagantall 2015-03-10 21:47:42 -07:00 committed by David Keitel
parent ccca370b3b
commit 914f992d79

View file

@ -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>