commit | c98e54c8733fbeef7be73e9ed98241757ec9b151 | [log] [tgz] |
---|---|---|
author | Sinan Kaya <okaya@codeaurora.org> | Tue Dec 19 00:37:37 2017 -0500 |
committer | Bjorn Helgaas <helgaas@kernel.org> | Thu Jan 11 17:20:30 2018 -0600 |
tree | 6c9720159208b04b1bf6e301030ed30383975df3 | |
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>