Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/drivers/char/agp/via-agp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/char/agp/via-agp.c~via-agp-pci-build-fix drivers/char/agp/via-agp.c
--- 25/drivers/char/agp/via-agp.c~via-agp-pci-build-fix	2004-10-01 00:14:22.944487640 -0700
+++ 25-akpm/drivers/char/agp/via-agp.c	2004-10-01 00:14:45.390075392 -0700
@@ -442,7 +442,7 @@ static void __devexit agp_via_remove(str
 
 static int agp_via_suspend(struct pci_dev *pdev, u32 state)
 {
-	pci_save_state (pdev, pdev->saved_config_space);
+	pci_save_state(pdev);
 	pci_set_power_state (pdev, 3);
 
 	return 0;
@@ -453,7 +453,7 @@ static int agp_via_resume(struct pci_dev
 	struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
 	pci_set_power_state (pdev, 0);
-	pci_restore_state(pdev, pdev->saved_config_space);
+	pci_restore_state(pdev);
 
 	if (bridge->driver == &via_agp3_driver)
 		return via_configure_agp3();
_