]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: avoid save the same type of cap multiple times
authorShaohua Li <shaohua.li@intel.com>
Tue, 18 Dec 2007 01:57:09 +0000 (09:57 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:27 +0000 (15:04 -0800)
commitba7b1e537b15313244f56b006942d9ea146947b6
tree04efdbe646e8333be11ba6e9a0fc867109d22245
parent7f8de20c38eb801c87982e08041c425a8957c7f5
PCI: avoid save the same type of cap multiple times

Avoid adding the same type of cap multiple times, otherwise we will see dead loop.

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