summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/pci_32.c
diff options
context:
space:
mode:
authorSinan Kaya <okaya@codeaurora.org>2017-12-19 00:37:37 -0500
committerBjorn Helgaas <helgaas@kernel.org>2018-01-11 17:20:30 -0600
commitc98e54c8733fbeef7be73e9ed98241757ec9b151 (patch)
tree6c9720159208b04b1bf6e301030ed30383975df3 /arch/powerpc/kernel/pci_32.c
parent1291a0d5049dbc06baaaf66a9ff3f53db493b19b (diff)
alpha/PCI: Deprecate pci_get_bus_and_slot()
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Use pci_get_domain_bus_and_slot() with a domain number of 0 where we can't extract the domain number. Other places, use the actual domain number from the device. Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
Diffstat (limited to 'arch/powerpc/kernel/pci_32.c')
0 files changed, 0 insertions, 0 deletions