diff options
Diffstat (limited to 'drivers/scsi/isci/remote_device.h')
-rw-r--r-- | drivers/scsi/isci/remote_device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/isci/remote_device.h b/drivers/scsi/isci/remote_device.h index 7674caae1d88..47a013fffae7 100644 --- a/drivers/scsi/isci/remote_device.h +++ b/drivers/scsi/isci/remote_device.h | |||
@@ -297,7 +297,7 @@ static inline struct isci_remote_device *rnc_to_dev(struct sci_remote_node_conte | |||
297 | 297 | ||
298 | static inline bool dev_is_expander(struct domain_device *dev) | 298 | static inline bool dev_is_expander(struct domain_device *dev) |
299 | { | 299 | { |
300 | return dev->dev_type == EDGE_DEV || dev->dev_type == FANOUT_DEV; | 300 | return dev->dev_type == SAS_EDGE_EXPANDER_DEVICE || dev->dev_type == SAS_FANOUT_EXPANDER_DEVICE; |
301 | } | 301 | } |
302 | 302 | ||
303 | static inline void sci_remote_device_decrement_request_count(struct isci_remote_device *idev) | 303 | static inline void sci_remote_device_decrement_request_count(struct isci_remote_device *idev) |