Searched hist:"84 f8cbf7488a8631bf29e022e5f0fee190762f7c" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/char/agp/ |
H A D | nvidia-agp.c | 84f8cbf7488a8631bf29e022e5f0fee190762f7c Tue Dec 19 05:37:41 UTC 2017 Sinan Kaya <okaya@codeaurora.org> agp: nvidia: 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().
Replace pci_get_bus_and_slot() with pci_get_domain_bus_and_slot() and extract the domain number from struct pci_dev.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
|