From: Yijing Wang Date: Tue, 24 Jul 2012 09:20:02 +0000 (+0800) Subject: PCI: Add pcie_flags_reg to cache PCIe capabilities register X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~79^2~17^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=786e22885d9959fda0473ace5a61cb11620fba9b;p=pandora-kernel.git PCI: Add pcie_flags_reg to cache PCIe capabilities register Since PCI Express Capabilities Register is read only, cache its value into struct pci_dev to avoid repeatedly calling pci_read_config_*(). Signed-off-by: Yijing Wang Signed-off-by: Jiang Liu Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed