]> err.no Git - linux-2.6/commitdiff
[AGPGART] Compile fix for ati-agp
authorDave Jones <davej@redhat.com>
Wed, 21 Jun 2006 17:10:26 +0000 (13:10 -0400)
committerDave Jones <davej@redhat.com>
Wed, 21 Jun 2006 17:10:26 +0000 (13:10 -0400)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/ati-agp.c

index 34bbd41f062a1d8cfaee76cd14fc3ce8fd58c006..d712078ed8220f58093554df7d3ddc084c122d7c 100644 (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();