]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/scsi/scsi_transport.h
net: convert BUG_TRAP to generic WARN_ON
[linux-2.6-omap-h63xx.git] / include / scsi / scsi_transport.h
index 0dfef752f0e27c7c9009a2dbe378522322d453a4..490bd13a634cc7eff4e61bfab5104b1e28047e2a 100644 (file)
@@ -80,7 +80,7 @@ struct scsi_transport_template {
 };
 
 #define transport_class_to_shost(tc) \
-       dev_to_shost((tc)->dev)
+       dev_to_shost((tc)->parent)
 
 
 /* Private area maintenance. The driver requested allocations come