Skip to content

Commit

Permalink
[libata] sata_vsc: build fix after PCI MSI feature addition
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Jeff Garzik committed Feb 9, 2007
1 parent 7cbaa86 commit 1645444
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/ata/sata_vsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit 1645444

Please sign in to comment.