summaryrefslogtreecommitdiff
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-07-09 19:39:52 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2012-07-10 14:34:59 (GMT)
commit1c975931128c1128892981095a64fb8eabf240eb (patch)
tree48060e9f4dd7d7c9a97235de16bb323951bb5c9a /drivers/pci/quirks.c
parentfd591341102ba5eb9e517d3889e7566fa45e021e (diff)
downloadlinux-fsl-qoriq-1c975931128c1128892981095a64fb8eabf240eb.tar.xz
sparc/PCI: replace pci_cfg_fake_ranges() with pci_read_bridge_bases()
The generic code to read P2P bridge windows is functionally equivalent to the sparc-specific pci_cfg_fake_ranges(), so use the generic code. The "if (!res->start) res->start = ..." removed from the I/O window code here was an artifact of the Intel 1K window support from 9d265124d051 and is no longer necessary (it probably was just cloned from x86 and was never useful on sparc). Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/quirks.c')
0 files changed, 0 insertions, 0 deletions