summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-06-21 13:10:26 -0400
committerDave Jones <davej@redhat.com>2006-06-21 13:10:26 -0400
commitb3818ed446fc41db41b5a38d934ac2b69fd2e0aa (patch)
tree924fc28a9f2a9f1f333c95aaf65f75e349ddbbee /drivers/char/agp
parentc5f2f261e7a47e4c72723cdcbe99e1bd771a81ea (diff)
[AGPGART] Compile fix for ati-agp
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/char/agp')
-rw-r--r--drivers/char/agp/ati-agp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/agp/ati-agp.c b/drivers/char/agp/ati-agp.c
index 34bbd41f062..d712078ed82 100644
--- a/drivers/char/agp/ati-agp.c
+++ b/drivers/char/agp/ati-agp.c
@@ -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();