diff options
Diffstat (limited to 'drivers/scsi/libsas/sas_port.c')
-rw-r--r-- | drivers/scsi/libsas/sas_port.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_port.c b/drivers/scsi/libsas/sas_port.c index 1398b714c018..d3c5297c6c89 100644 --- a/drivers/scsi/libsas/sas_port.c +++ b/drivers/scsi/libsas/sas_port.c | |||
@@ -69,7 +69,7 @@ static void sas_resume_port(struct asd_sas_phy *phy) | |||
69 | continue; | 69 | continue; |
70 | } | 70 | } |
71 | 71 | ||
72 | if (dev->dev_type == EDGE_DEV || dev->dev_type == FANOUT_DEV) { | 72 | if (dev->dev_type == SAS_EDGE_EXPANDER_DEVICE || dev->dev_type == SAS_FANOUT_EXPANDER_DEVICE) { |
73 | dev->ex_dev.ex_change_count = -1; | 73 | dev->ex_dev.ex_change_count = -1; |
74 | for (i = 0; i < dev->ex_dev.num_phys; i++) { | 74 | for (i = 0; i < dev->ex_dev.num_phys; i++) { |
75 | struct ex_phy *phy = &dev->ex_dev.ex_phy[i]; | 75 | struct ex_phy *phy = &dev->ex_dev.ex_phy[i]; |