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)
commitec0a3a27fbb5792980b8c3ce4a93bc2ee93d0b35
tree3885a0355cb54a1f5bd17c2ccec616dc0a70279b
parentf34303de9e0263b389a215483adddc7d918cf8c8
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