]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: Add restore_dev_resource()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 16 Dec 2024 17:56:25 +0000 (19:56 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 18 Feb 2025 21:40:54 +0000 (15:40 -0600)
commit4e362abe482def0bbb4fcccbc8808f149c16cb75
tree3594ba91720684ab6bc43b0fdea24abf2c1ba519
parentc8098ad8fb2e80dcb92920da795455d30ed5e292
PCI: Add restore_dev_resource()

Resource fitting needs to restore the saved dev resources in a few places.
Add a restore_dev_resource() helper for that.

Link: https://lore.kernel.org/r/20241216175632.4175-19-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Xiaochun Lee <lixc17@lenovo.com>
drivers/pci/setup-bus.c