diff options
Diffstat (limited to 'drivers/scsi/isci/host.c')
-rw-r--r-- | drivers/scsi/isci/host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/isci/host.c b/drivers/scsi/isci/host.c index 0d706b2ce25e..3aceb9219d7b 100644 --- a/drivers/scsi/isci/host.c +++ b/drivers/scsi/isci/host.c | |||
@@ -467,7 +467,7 @@ int isci_host_init(struct isci_host *isci_host) | |||
467 | isci_phy_init(&isci_host->phys[i], isci_host, i); | 467 | isci_phy_init(&isci_host->phys[i], isci_host, i); |
468 | 468 | ||
469 | for (i = 0; i < SCI_MAX_REMOTE_DEVICES; i++) { | 469 | for (i = 0; i < SCI_MAX_REMOTE_DEVICES; i++) { |
470 | struct isci_remote_device *idev = idev_by_id(isci_host, i); | 470 | struct isci_remote_device *idev = &isci_host->devices[i]; |
471 | 471 | ||
472 | INIT_LIST_HEAD(&idev->reqs_in_process); | 472 | INIT_LIST_HEAD(&idev->reqs_in_process); |
473 | INIT_LIST_HEAD(&idev->node); | 473 | INIT_LIST_HEAD(&idev->node); |