--- drivers/pci/pci.c | 2 +- kernel/power/suspend.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6/drivers/pci/pci.c =================================================================== --- linux-2.6.orig/drivers/pci/pci.c +++ linux-2.6/drivers/pci/pci.c @@ -4462,7 +4462,7 @@ static void dump_pci_device_range(struct printk("\n"); } -static int dump_pci_devices(void) +int dump_pci_devices(void) { struct pci_dev *dev = NULL; Index: linux-2.6/kernel/power/suspend.c =================================================================== --- linux-2.6.orig/kernel/power/suspend.c +++ linux-2.6/kernel/power/suspend.c @@ -401,6 +401,7 @@ int suspend_devices_and_enter(suspend_st goto Resume_devices; } +int dump_pci_devices(void); /** * suspend_finish - Clean up before finishing the suspend sequence. * @@ -411,6 +412,7 @@ static void suspend_finish(void) { suspend_thaw_processes(); pm_notifier_call_chain(PM_POST_SUSPEND); + dump_pci_devices(); pm_restore_console(); }