agp_put_bridge(bridge);
}
-static int agp_intelmch_suspend(struct pci_dev *dev, u32 state)
-{
- return 0;
-}
-
static int agp_intelmch_resume(struct pci_dev *pdev)
{
struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
+
+ pci_restore_state(pdev, pdev->saved_config_space);
if (bridge->driver == &intel_845_driver)
intel_845_configure();
.id_table = agp_intelmch_pci_table,
.probe = agp_intelmch_probe,
.remove = agp_intelmch_remove,
- .suspend = agp_intelmch_suspend,
.resume = agp_intelmch_resume,
};