diff options
Diffstat (limited to 'drivers/scsi/isci/init.c')
-rw-r--r-- | drivers/scsi/isci/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c index a5d5c0b97d00..522d39f9e132 100644 --- a/drivers/scsi/isci/init.c +++ b/drivers/scsi/isci/init.c | |||
@@ -221,8 +221,8 @@ static int isci_register_sas_ha(struct isci_host *isci_host) | |||
221 | 221 | ||
222 | /* set the array of phy and port structs. */ | 222 | /* set the array of phy and port structs. */ |
223 | for (i = 0; i < SCI_MAX_PHYS; i++) { | 223 | for (i = 0; i < SCI_MAX_PHYS; i++) { |
224 | sas_phys[i] = &(isci_host->phys[i].sas_phy); | 224 | sas_phys[i] = &isci_host->phys[i].sas_phy; |
225 | sas_ports[i] = &(isci_host->sas_ports[i]); | 225 | sas_ports[i] = &isci_host->ports[i].sas_port; |
226 | } | 226 | } |
227 | 227 | ||
228 | sas_ha->sas_phy = sas_phys; | 228 | sas_ha->sas_phy = sas_phys; |