]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: correctly initialize a structure for pcie_save_pcix_state()
authorShaohua Li <shaohua.li@intel.com>
Tue, 18 Dec 2007 01:56:56 +0000 (09:56 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:27 +0000 (15:04 -0800)
commit7f8de20c38eb801c87982e08041c425a8957c7f5
tree3885a0355cb54a1f5bd17c2ccec616dc0a70279b
parent9a996b3f4c4490aca34e267e505a6584e86a0dc7
PCI: correctly initialize a structure for pcie_save_pcix_state()

save_state->cap_nr should be correctly set, otherwise we can't find the
saved cap at resume.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci.c