Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6f2fce6 authored by Matt Wagantall's avatar Matt Wagantall
Browse files

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: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 977e040d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
#include <linux/types.h>
#include <linux/scatterlist.h>
#include <linux/kernel.h>
#include <linux/device.h>

struct scsi_cmnd;