Hi!

This should fix u32 vs. pm_message_t confusion in AGP. Last patch for
tonight, please apply,
                                                                Pavel

--- clean-mm/drivers/char/agp/via-agp.c 2005-02-15 00:46:40.000000000 +0100
+++ linux-mm/drivers/char/agp/via-agp.c 2005-02-15 01:04:09.000000000 +0100
@@ -440,10 +440,10 @@
 
 #ifdef CONFIG_PM
 
-static int agp_via_suspend(struct pci_dev *pdev, u32 state)
+static int agp_via_suspend(struct pci_dev *pdev, pm_message_t state)
 {
        pci_save_state (pdev);
-       pci_set_power_state (pdev, 3);
+       pci_set_power_state (pdev, PCI_D3hot);
 
        return 0;
 }
@@ -452,7 +452,7 @@
 {
        struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
-       pci_set_power_state (pdev, 0);
+       pci_set_power_state (pdev, PCI_D0);
        pci_restore_state(pdev);
 
        if (bridge->driver == &via_agp3_driver)


-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to