summaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/mmconfig_32.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-11-13 17:34:18 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-11-24 15:29:24 -0800
commitd7e6b66fe87c9f42480d73fc314aecaeae84ca6b (patch)
tree0d8f33a6df0c684f6b7da1e7cbfaf7771cde5bee /arch/x86/pci/mmconfig_32.c
parentd215a9c8b46e55a1d3bc1cd907c943ef95938a0e (diff)
downloadlinux-stable-d7e6b66fe87c9f42480d73fc314aecaeae84ca6b.tar.gz
linux-stable-d7e6b66fe87c9f42480d73fc314aecaeae84ca6b.tar.bz2
linux-stable-d7e6b66fe87c9f42480d73fc314aecaeae84ca6b.zip
x86/PCI: MMCONFIG: rename pci_mmcfg_region structure members
This only renames the struct pci_mmcfg_region members; no functional change. Reviewed-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/x86/pci/mmconfig_32.c')
-rw-r--r--arch/x86/pci/mmconfig_32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/pci/mmconfig_32.c b/arch/x86/pci/mmconfig_32.c
index 3936eced993c..a3cee532c935 100644
--- a/arch/x86/pci/mmconfig_32.c
+++ b/arch/x86/pci/mmconfig_32.c
@@ -32,9 +32,9 @@ static u32 get_base_addr(unsigned int seg, int bus, unsigned devfn)
for (cfg_num = 0; cfg_num < pci_mmcfg_config_num; cfg_num++) {
cfg = &pci_mmcfg_config[cfg_num];
- if (cfg->pci_segment == seg &&
- (cfg->start_bus_number <= bus) &&
- (cfg->end_bus_number >= bus))
+ if (cfg->segment == seg &&
+ (cfg->start_bus <= bus) &&
+ (cfg->end_bus >= bus))
return cfg->address;
}