android_kernel_google_msm/include
Yinghai Lu bded67cc51 PCI: Convert pcibios_resource_to_bus() to take a pci_bus, not a pci_dev
commit fc2798502f upstream.

These interfaces:

  pcibios_resource_to_bus(struct pci_dev *dev, *bus_region, *resource)
  pcibios_bus_to_resource(struct pci_dev *dev, *resource, *bus_region)

took a pci_dev, but they really depend only on the pci_bus.  And we want to
use them in resource allocation paths where we have the bus but not a
device, so this patch converts them to take the pci_bus instead of the
pci_dev:

  pcibios_resource_to_bus(struct pci_bus *bus, *bus_region, *resource)
  pcibios_bus_to_resource(struct pci_bus *bus, *resource, *bus_region)

In fact, with standard PCI-PCI bridges, they only depend on the host
bridge, because that's the only place address translation occurs, but
we aren't going that far yet.

[bhelgaas: changelog]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Dirk Behme <dirk.behme@gmail.com>
[lizf: Backported to 3.4:
 - make changes to pci_host_bridge() instead of find_pci_root_bus()
 - adjust context]
Signed-off-by: Zefan Li <lizefan@huawei.com>
2015-06-19 11:40:34 +08:00
..
acpi
asm-generic
crypto
drm drm/radeon: remove invalid pci id 2015-02-02 17:05:06 +08:00
keys
linux PCI: Convert pcibios_resource_to_bus() to take a pci_bus, not a pci_dev 2015-06-19 11:40:34 +08:00
math-emu
media
misc
mtd
net net: sctp: fix skb_over_panic when receiving malformed ASCONF chunks 2015-04-14 17:33:57 +08:00
pcmcia
rdma
rxrpc
scsi usb-storage/SCSI: Add broken_fua blacklist flag 2015-04-14 17:33:56 +08:00
sound ALSA: ak411x: Fix stall in work callback 2015-04-14 17:33:59 +08:00
target
trace
video
xen
Kbuild