--- zzzz-none-000/linux-2.6.39.4/drivers/pci/pcie/portdrv.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/drivers/pci/pcie/portdrv.h 2021-11-10 13:38:15.000000000 +0000 @@ -23,6 +23,9 @@ extern struct bus_type pcie_port_bus_type; extern int pcie_port_device_register(struct pci_dev *dev); #ifdef CONFIG_PM +#ifdef CONFIG_ARCH_GEN3 +int pcie_portdrv_restore_config(struct pci_dev *dev); +#endif extern int pcie_port_device_suspend(struct device *dev); extern int pcie_port_device_resume(struct device *dev); #endif