Skip to content

Commit

Permalink
[AGPGART] Compile fix for ati-agp
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Dave Jones committed Jun 21, 2006
1 parent c5f2f26 commit b3818ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/char/agp/ati-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b3818ed

Please sign in to comment.