If you include <scsi/scsi_transport.h> and do not include <scsi/scsi_device.h> you will get the following error: include/scsi/scsi_transport.h: In function `scsi_transport_target_data': include/scsi/scsi_transport.h:78: error: dereferencing pointer to incomplete type include/scsi/scsi_transport.h:79: error: dereferencing pointer to incomplete type include/scsi/scsi_transport.h: In function `scsi_transport_device_data': include/scsi/scsi_transport.h:86: error: dereferencing pointer to incomplete type include/scsi/scsi_transport.h:87: error: dereferencing pointer to incomplete type I suggest either including scsi_device.h in scsi_transport.h. Patch on request. Eike
Attachment:
pgpcNDmd4a0i8.pgp
Description: PGP signature