]> Pileus Git - ~andy/linux/blobdiff - drivers/scsi/isci/host.h
isci: End the RNC resumption wait when the RNC is destroyed.
[~andy/linux] / drivers / scsi / isci / host.h
index 8e8b46322c648bcd0567a3122832c6870d9e4f00..9ab58e0540e7df4caf596e9621a5fcee62e86fba 100644 (file)
@@ -340,6 +340,11 @@ static inline struct isci_host *dev_to_ihost(struct domain_device *dev)
        return dev->port->ha->lldd_ha;
 }
 
+static inline struct isci_host *idev_to_ihost(struct isci_remote_device *idev)
+{
+       return dev_to_ihost(idev->domain_dev);
+}
+
 /* we always use protocol engine group zero */
 #define ISCI_PEG 0