diff options
Diffstat (limited to 'include/scsi/scsi_transport.h')
-rw-r--r-- | include/scsi/scsi_transport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/scsi_transport.h b/include/scsi/scsi_transport.h index 0dfef752f0e2..490bd13a634c 100644 --- a/include/scsi/scsi_transport.h +++ b/include/scsi/scsi_transport.h | |||
@@ -80,7 +80,7 @@ struct scsi_transport_template { | |||
80 | }; | 80 | }; |
81 | 81 | ||
82 | #define transport_class_to_shost(tc) \ | 82 | #define transport_class_to_shost(tc) \ |
83 | dev_to_shost((tc)->dev) | 83 | dev_to_shost((tc)->parent) |
84 | 84 | ||
85 | 85 | ||
86 | /* Private area maintenance. The driver requested allocations come | 86 | /* Private area maintenance. The driver requested allocations come |