diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2017-12-19 00:37:52 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-01-17 08:16:46 -0600 |
commit | 48ec053518a2c98c02fb162fefe5a7eaa0ba9040 (patch) | |
tree | 8f06998e794920670f3914a7d0a983b6ae409fe6 /drivers/pci/quirks.c | |
parent | 8658e819e3d5c82031df14502923723255279b3e (diff) | |
download | linux-48ec053518a2c98c02fb162fefe5a7eaa0ba9040.tar.gz linux-48ec053518a2c98c02fb162fefe5a7eaa0ba9040.tar.xz |
PCI: ibmphp: 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.
Getting ready to remove pci_get_bus_and_slot() function in favor of
pci_get_domain_bus_and_slot().
Hard-coding the domain parameter as 0 since the code doesn't seem to be
ready for multiple domains.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
Diffstat (limited to 'drivers/pci/quirks.c')
0 files changed, 0 insertions, 0 deletions