summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/host.c
diff options
context:
space:
mode:
authorMaciej Patelczyk <maciej.patelczyk@intel.com>2011-04-29 00:06:06 +0200
committerDan Williams <dan.j.williams@intel.com>2011-07-03 13:00:38 +0200
commitd3757c3aeb75259e0b86a872e98841a2ea4cb5e8 (patch)
treee2484fe1e6601fd343b950280c388586a4217a4c /drivers/scsi/isci/host.c
parentisci: Removed struct sci_base_object from state machine. (diff)
downloadlinux-d3757c3aeb75259e0b86a872e98841a2ea4cb5e8.tar.xz
linux-d3757c3aeb75259e0b86a872e98841a2ea4cb5e8.zip
isci: Removed sci_base_object from scic_sds_controller.
The 'struct sci_base_object' was removed from the struct scic_sds_controller and was replaced by a pointer to struct isci_host. Signed-off-by: Maciej Patelczyk <maciej.patelczyk@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/host.c')
-rw-r--r--drivers/scsi/isci/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/isci/host.c b/drivers/scsi/isci/host.c
index 676bcdbfc316..55bfa3dbfb8f 100644
--- a/drivers/scsi/isci/host.c
+++ b/drivers/scsi/isci/host.c
@@ -365,7 +365,7 @@ int isci_host_init(struct isci_host *isci_host)
}
isci_host->core_controller = controller;
- sci_object_set_association(isci_host->core_controller, isci_host);
+ controller->ihost = isci_host;
spin_lock_init(&isci_host->state_lock);
spin_lock_init(&isci_host->scic_lock);
spin_lock_init(&isci_host->queue_lock);