diff options
-rw-r--r-- | drivers/char/agp/ati-agp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/agp/ati-agp.c b/drivers/char/agp/ati-agp.c index 34bbd41f062a..d712078ed822 100644 --- a/drivers/char/agp/ati-agp.c +++ b/drivers/char/agp/ati-agp.c | |||
@@ -248,14 +248,14 @@ static int ati_configure(void) | |||
248 | static int agp_ati_suspend(struct pci_dev *dev, pm_message_t state) | 248 | static int agp_ati_suspend(struct pci_dev *dev, pm_message_t state) |
249 | { | 249 | { |
250 | pci_save_state(dev); | 250 | pci_save_state(dev); |
251 | pci_set_power_state (pdev, 3); | 251 | pci_set_power_state(dev, 3); |
252 | 252 | ||
253 | return 0; | 253 | return 0; |
254 | } | 254 | } |
255 | 255 | ||
256 | static int agp_ati_resume(struct pci_dev *dev) | 256 | static int agp_ati_resume(struct pci_dev *dev) |
257 | { | 257 | { |
258 | pci_set_power_state (pdev, 0); | 258 | pci_set_power_state(dev, 0); |
259 | pci_restore_state(dev); | 259 | pci_restore_state(dev); |
260 | 260 | ||
261 | return ati_configure(); | 261 | return ati_configure(); |