Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / drivers / char / agp / nvidia-agp.c
index df7f37b..4c67135 100644 (file)
@@ -376,29 +376,6 @@ static void __devexit agp_nvidia_remove(struct pci_dev *pdev)
        agp_put_bridge(bridge);
 }
 
-#ifdef CONFIG_PM
-static int agp_nvidia_suspend(struct pci_dev *pdev, pm_message_t state)
-{
-       pci_save_state (pdev);
-       pci_set_power_state (pdev, 3);
-
-       return 0;
-}
-
-static int agp_nvidia_resume(struct pci_dev *pdev)
-{
-       /* set power state 0 and restore PCI space */
-       pci_set_power_state (pdev, 0);
-       pci_restore_state(pdev);
-
-       /* reconfigure AGP hardware again */
-       nvidia_configure();
-
-       return 0;
-}
-#endif
-
-
 static struct pci_device_id agp_nvidia_pci_table[] = {
        {
        .class          = (PCI_CLASS_BRIDGE_HOST << 8),
@@ -426,10 +403,6 @@ static struct pci_driver agp_nvidia_pci_driver = {
        .id_table       = agp_nvidia_pci_table,
        .probe          = agp_nvidia_probe,
        .remove         = agp_nvidia_remove,
-#ifdef CONFIG_PM
-       .suspend        = agp_nvidia_suspend,
-       .resume         = agp_nvidia_resume,
-#endif
 };
 
 static int __init agp_nvidia_init(void)