diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-01-09 06:28:24 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-09 17:39:31 -0500 |
commit | 16454445e1f0ca21ca2f29accb58478a7ff765a2 (patch) | |
tree | f29810c7cc5204a7531c50f518723f3254648ad5 /drivers/ata/sata_vsc.c | |
parent | 7cbaa86b937b0b1fab95c159989f6a3c00bbcf78 (diff) |
[libata] sata_vsc: build fix after PCI MSI feature addition
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_vsc.c')
-rw-r--r-- | drivers/ata/sata_vsc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ata/sata_vsc.c b/drivers/ata/sata_vsc.c index 1a5f3578894d..8d1683ebadc6 100644 --- a/drivers/ata/sata_vsc.c +++ b/drivers/ata/sata_vsc.c | |||
@@ -124,17 +124,17 @@ static void vsc_sata_scr_write (struct ata_port *ap, unsigned int sc_reg, | |||
124 | } | 124 | } |
125 | 125 | ||
126 | 126 | ||
127 | static void vsc_sata_host_stop(struct ata_host_set *host_set) | 127 | static void vsc_sata_host_stop(struct ata_host *host) |
128 | { | 128 | { |
129 | struct vsc_sata_host_priv *hpriv = host_set->private_data; | 129 | struct vsc_sata_host_priv *hpriv = host->private_data; |
130 | struct pci_dev *pdev = to_pci_dev(host_set->dev); | 130 | struct pci_dev *pdev = to_pci_dev(host->dev); |
131 | 131 | ||
132 | if (hpriv->hp_flags & VSC_SATA_HP_FLAG_MSI) | 132 | if (hpriv->hp_flags & VSC_SATA_HP_FLAG_MSI) |
133 | pci_disable_msi(pdev); | 133 | pci_disable_msi(pdev); |
134 | else | 134 | else |
135 | pci_intx(pdev, 0); | 135 | pci_intx(pdev, 0); |
136 | kfree (hpriv); | 136 | kfree (hpriv); |
137 | ata_pci_host_stop(host_set); | 137 | ata_pci_host_stop(host); |
138 | } | 138 | } |
139 | 139 | ||
140 | 140 | ||