diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2017-12-19 08:37:45 +0300 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-01-12 02:28:14 +0300 |
commit | 2fa6d6cdaf283c05ae23842b2a04aeb223203c13 (patch) | |
tree | 0e41ff51bfb47edf2443be521e4d36506aa1ca1c /mm/hwpoison-inject.c | |
parent | ba99d8348864b8bac2339a0050ca39e2375b5d81 (diff) | |
download | linux-2fa6d6cdaf283c05ae23842b2a04aeb223203c13.tar.xz |
drm/nouveau: 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
1. struct pci_dev
2. struct pci_dev through drm_device->pdev
3. struct pci_dev through fb->subdev->drm_device->pdev
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
Diffstat (limited to 'mm/hwpoison-inject.c')
0 files changed, 0 insertions, 0 deletions