mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[SCSI] scsi_transport.h should include scsi_device.h
scsi_transport.h defines the inline function scsi_transport_device_data() that dereferences a pointer of "struct scsi_device *". Since the struct is not known by the header this might break compilation. Include scsi/scsi_device.h to not rely on users doing the correct magic include order. Signed-off-by: Rolf Eike Beer <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
e790b3dd2b
commit
a9b7320294
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include <linux/transport_class.h>
|
||||
#include <scsi/scsi_host.h>
|
||||
#include <scsi/scsi_device.h>
|
||||
|
||||
struct scsi_transport_template {
|
||||
/* the attribute containers */
|
||||
|
|
|
|||
Loading…
Reference in a new issue