Fix no CONFIG_PM compilation problem
PATCH 1/1 Fix no CONFIG_PM compilation problem
Fix no CONFIG_PM compilation problem
Signed-off-by Espen Skoglund <[email protected]>
drivers/pci/pcie/portdrv_pci.c +1 -1
@@ -37,7 +37,6 @@ static int pcie_portdrv_save_config(strureturn 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(sreturn 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);