]> www.infradead.org Git - users/dwmw2/linux.git/commit
fpga/dfl-pci.c: Replace deprecated PCI functions
authorPhilipp Stanner <pstanner@redhat.com>
Wed, 16 Oct 2024 09:49:06 +0000 (11:49 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 7 Nov 2024 13:10:11 +0000 (07:10 -0600)
commit4365792438902be22cc26ef0624b024c3fb2defa
treeb1e63d8b01374e7b010fa70681e20a87aa31e25a
parent083b0ac4f880e54ec7f6a611a899477bbfee9faf
fpga/dfl-pci.c: Replace deprecated PCI functions

pcim_iomap_regions() and pcim_iomap_table() have been deprecated by the
PCI subsystem in commit e354bb84a4c1 ("PCI: Deprecate
pcim_iomap_table(), pcim_iomap_regions_request_all()").

Port dfl-pci.c to the successor, pcim_iomap_region().

Consistently, replace pcim_iounmap_regions() with pcim_iounmap_region().

Link: https://lore.kernel.org/r/20241016094911.24818-5-pstanner@redhat.com
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Acked-by: Xu Yilun <yilun.xu@intel.com>
drivers/fpga/dfl-pci.c