summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/init.c
diff options
context:
space:
mode:
authorArtur Wojcik <artur.wojcik@intel.com>2011-05-04 07:58:16 +0000
committerDan Williams <dan.j.williams@intel.com>2011-07-03 04:04:46 -0700
commitcc3dbd0a9178865d4444f8e28b51715808e9ac85 (patch)
tree4f8da28b4740e0ddaeb3163a3d317f36bc49571c /drivers/scsi/isci/init.c
parentd06b487b78f28a02efdcdcc9ec295bf230b9d0e8 (diff)
downloadblackbird-op-linux-cc3dbd0a9178865d4444f8e28b51715808e9ac85.tar.gz
blackbird-op-linux-cc3dbd0a9178865d4444f8e28b51715808e9ac85.zip
isci: unify isci_host data structures
Make it explicit that isci_host and scic_sds_controller are one in the same object. Signed-off-by: Artur Wojcik <artur.wojcik@intel.com> [removed ->ihost back pointer] Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/init.c')
-rw-r--r--drivers/scsi/isci/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c
index 6c2d686fe7c0..a5d5c0b97d00 100644
--- a/drivers/scsi/isci/init.c
+++ b/drivers/scsi/isci/init.c
@@ -268,7 +268,7 @@ static void isci_unregister(struct isci_host *isci_host)
static int __devinit isci_pci_init(struct pci_dev *pdev)
{
- int err, bar_num, bar_mask;
+ int err, bar_num, bar_mask = 0;
void __iomem * const *iomap;
err = pcim_enable_device(pdev);
@@ -556,7 +556,7 @@ static void __devexit isci_pci_remove(struct pci_dev *pdev)
for_each_isci_host(i, isci_host, pdev) {
isci_unregister(isci_host);
isci_host_deinit(isci_host);
- scic_controller_disable_interrupts(isci_host->core_controller);
+ scic_controller_disable_interrupts(&isci_host->sci);
}
}
OpenPOWER on IntegriCloud