|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Fix no CONFIG_PM compilation problem
Fix no CONFIG_PM compilation problem
Signed-off-by: Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>
diff -r 29f302393dbc drivers/pci/pcie/portdrv_pci.c
--- a/drivers/pci/pcie/portdrv_pci.c Tue Jan 20 13:08:52 2009 +0000
+++ b/drivers/pci/pcie/portdrv_pci.c Tue Jan 20 13:10:04 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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Fix no CONFIG_PM compilation problem,
Espen Skoglund <=
|
|
|
|
|