aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/init.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2011-06-30 20:38:32 -0400
committerDan Williams <dan.j.williams@intel.com>2011-07-03 07:04:52 -0400
commitd9dcb4ba791de2a06b19ac47cd61601cf3d4e208 (patch)
tree4b818b5b14c078703c034489c92e74975be6c06f /drivers/scsi/isci/init.c
parent78a6f06e0e82125787d7aa308fe28c2c8381540c (diff)
isci: unify isci_host and scic_sds_controller
Remove the distinction between these two implementations and unify on isci_host (local instances named ihost). Hmmm, we had two 'oem_parameters' instances, one was unused... nice. Reported-by: Christoph Hellwig <hch@lst.de> 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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c
index bbfb6e563207..68ca1a4f30af 100644
--- a/drivers/scsi/isci/init.c
+++ b/drivers/scsi/isci/init.c
@@ -548,13 +548,13 @@ static int __devinit isci_pci_probe(struct pci_dev *pdev, const struct pci_devic
548 548
549static void __devexit isci_pci_remove(struct pci_dev *pdev) 549static void __devexit isci_pci_remove(struct pci_dev *pdev)
550{ 550{
551 struct isci_host *isci_host; 551 struct isci_host *ihost;
552 int i; 552 int i;
553 553
554 for_each_isci_host(i, isci_host, pdev) { 554 for_each_isci_host(i, ihost, pdev) {
555 isci_unregister(isci_host); 555 isci_unregister(ihost);
556 isci_host_deinit(isci_host); 556 isci_host_deinit(ihost);
557 scic_controller_disable_interrupts(&isci_host->sci); 557 scic_controller_disable_interrupts(ihost);
558 } 558 }
559} 559}
560 560