diff options
| author | Philipp Stanner <[email protected]> | 2024-11-11 10:36:03 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2024-11-11 10:59:21 +0000 |
| commit | 90f1b42b179487ee77d182893408cc1c40d50b13 (patch) | |
| tree | 9168efc78c7cb9a0b880de218c56564ea99a1bbc /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | Linux 6.12-rc7 (diff) | |
| download | kernel-90f1b42b179487ee77d182893408cc1c40d50b13.tar.gz kernel-90f1b42b179487ee77d182893408cc1c40d50b13.zip | |
x86/platform/intel-mid: Replace deprecated PCI functions
pcim_iomap_table() and pcim_request_regions() have been deprecated in
e354bb84a4c1 ("PCI: Deprecate pcim_iomap_table(), pcim_iomap_regions_request_all()") and
d140f80f6035 ("PCI: Deprecate pcim_iomap_regions() in favor of pcim_iomap_region()"),
respectively.
Replace these functions with pcim_iomap_region().
Additionally, pass the actual driver name to pcim_iomap_region() instead of
the previous pci_name(), since the @name parameter should always reflect which
driver owns a region.
Signed-off-by: Philipp Stanner <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
