[AGPGART] Compile fix for ati-agp

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
Dave Jones 2006-06-21 13:10:26 -04:00
parent c5f2f261e7
commit b3818ed446

View File

@ -248,14 +248,14 @@ static int ati_configure(void)
static int agp_ati_suspend(struct pci_dev *dev, pm_message_t state)
{
pci_save_state(dev);
pci_set_power_state (pdev, 3);
pci_set_power_state(dev, 3);
return 0;
}
static int agp_ati_resume(struct pci_dev *dev)
{
pci_set_power_state (pdev, 0);
pci_set_power_state(dev, 0);
pci_restore_state(dev);
return ati_configure();