]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: Make pcim_request_all_regions() a public function
authorPhilipp Stanner <pstanner@redhat.com>
Wed, 30 Oct 2024 11:27:34 +0000 (12:27 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 30 Oct 2024 21:07:36 +0000 (16:07 -0500)
commitd9d959c36bec59f11c0eb6b5308729e3c4901b5e
tree4a12f13faf20e51490d07c6ef03617dd1ed49a72
parent9852d85ec9d492ebef56dc5f229416c925758edc
PCI: Make pcim_request_all_regions() a public function

In order to remove the deprecated function
pcim_iomap_regions_request_all(), a few drivers need an interface to
request all BARs a PCI device offers.

Make pcim_request_all_regions() a public interface.

Link: https://lore.kernel.org/r/20241030112743.104395-2-pstanner@redhat.com
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/pci/devres.c
include/linux/pci.h