[libata] sata_vsc: build fix after PCI MSI feature addition
authorJeff Garzik <jeff@garzik.org>
Tue, 9 Jan 2007 11:28:24 +0000 (06:28 -0500)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:31 +0000 (17:39 -0500)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_vsc.c

index 1a5f3578894dc80cc17a02485a055615b452d582..8d1683ebadc6cf862139b4a096a5a76c7626e9db 100644 (file)
@@ -124,17 +124,17 @@ static void vsc_sata_scr_write (struct ata_port *ap, unsigned int sc_reg,
 }
 
 
-static void vsc_sata_host_stop(struct ata_host_set *host_set)
+static void vsc_sata_host_stop(struct ata_host *host)
 {
-       struct vsc_sata_host_priv *hpriv = host_set->private_data;
-       struct pci_dev *pdev = to_pci_dev(host_set->dev);
+       struct vsc_sata_host_priv *hpriv = host->private_data;
+       struct pci_dev *pdev = to_pci_dev(host->dev);
 
        if (hpriv->hp_flags & VSC_SATA_HP_FLAG_MSI)
                pci_disable_msi(pdev);
        else
                pci_intx(pdev, 0);
        kfree (hpriv);
-       ata_pci_host_stop(host_set);
+       ata_pci_host_stop(host);
 }