PCI: Move pci_rescan_bus_bridge_resize() declaration to pci/pci.h
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 11 Mar 2025 17:46:58 +0000 (19:46 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 20 Mar 2025 21:44:25 +0000 (16:44 -0500)
commit95c4e6d42c99237c0264d1a401a6223849477cb6
treef645980aa3795e85b4947a5c8efb0c48f7efeb2a
parent9ec19bfa78bd788945e2445b09de7b4482dee432
PCI: Move pci_rescan_bus_bridge_resize() declaration to pci/pci.h

pci_rescan_bus_bridge_resize() is only used by code inside PCI subsystem.
The comment also falsely advertises it to be for hotplug drivers, yet the
only caller is from sysfs store function. Move the function declaration
into pci/pci.h.

Link: https://lore.kernel.org/r/20250311174701.3586-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.h
include/linux/pci.h