From: Rafael J. Wysocki Date: Wed, 7 Jan 2009 12:02:36 +0000 (+0100) Subject: PCI PM: Fix poweroff and restore callbacks X-Git-Tag: v2.6.29-rc1~181^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9b9972b3c88272be02d971346285d1c67fbb95f;p=pandora-kernel.git PCI PM: Fix poweroff and restore callbacks pci_fixup_device() is called too early in pci_pm_poweroff() and too late in pci_pm_restore(). Moreover, pci_pm_restore_noirq() calls pci_fixup_device() twice and in a wrong way. Fix that. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed