[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] Fix !CONFIG_PM compilation problem



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1232458115 0
# Node ID 83b71f4b5cb216d09856391d8616ee2cb6525c73
# Parent  7ff5bab082759134b5035fa0c1ef0e23505a2894
Fix !CONFIG_PM compilation problem

Signed-off-by: Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>
---
 drivers/pci/pcie/portdrv_pci.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 7ff5bab08275 -r 83b71f4b5cb2 drivers/pci/pcie/portdrv_pci.c
--- a/drivers/pci/pcie/portdrv_pci.c    Tue Jan 20 13:28:17 2009 +0000
+++ b/drivers/pci/pcie/portdrv_pci.c    Tue Jan 20 13:28:35 2009 +0000
@@ -37,7 +37,6 @@ static int pcie_portdrv_save_config(stru
        return pci_save_state(dev);
 }
 
-#ifdef CONFIG_PM
 static int pcie_portdrv_restore_config(struct pci_dev *dev)
 {
        int retval;
@@ -50,6 +49,7 @@ static int pcie_portdrv_restore_config(s
        return 0;
 }
 
+#ifdef CONFIG_PM
 static int pcie_portdrv_suspend(struct pci_dev *dev, pm_message_t state)
 {
        int ret = pcie_port_device_suspend(dev, state);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.