diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2017-12-19 00:37:37 -0500 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-01-11 17:20:30 -0600 |
commit | c98e54c8733fbeef7be73e9ed98241757ec9b151 (patch) | |
tree | 6c9720159208b04b1bf6e301030ed30383975df3 /arch/x86/pci | |
parent | 1291a0d5049dbc06baaaf66a9ff3f53db493b19b (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/x86/pci')
0 files changed, 0 insertions, 0 deletions