diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2017-12-19 08:37:40 +0300 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-01-12 02:23:23 +0300 |
commit | 78a6b8d870634165b62c5fb781d833357a832a30 (patch) | |
tree | 109413a63b84ba98b04911c3ab40837d21d1652a /drivers/char/agp | |
parent | d4b315038be170d441ae7d7051417ac4fd56849f (diff) | |
download | linux-78a6b8d870634165b62c5fb781d833357a832a30.tar.xz |
ata: 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().
Use pci_get_domain_bus_and_slot() and extract the actual domain number
from the pdev passed in.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
Acked-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/char/agp')
0 files changed, 0 insertions, 0 deletions