commit | 797cfc4f714a13e33729859fb671cfd8b4131abc | [log] [tgz] |
---|---|---|
author | Sinan Kaya <okaya@codeaurora.org> | Mon Nov 27 11:57:38 2017 -0500 |
committer | Matt Turner <mattst88@gmail.com> | Sat Jan 20 17:01:04 2018 -0800 |
tree | a4966242069f80b7af3d1ebdcb9b6a9315c6fb89 | |
parent | 84e455361ec97ea6037d31d42a2955628ea2094b [diff] |
alpha: 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: Matt Turner <mattst88@gmail.com>