PCI: Move pci_assign_unassigned_root_bus_resources()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 5 Sep 2022 08:02:29 +0000 (11:02 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 21 Sep 2022 19:46:59 +0000 (14:46 -0500)
commitd1caf229c7587b5c514910fff8dc382e69fdcdf5
tree81727811cc9758d2c22761c388f70ce1b8bcc239
parent49ad31e9d78527045614c534df057cadee487773
PCI: Move pci_assign_unassigned_root_bus_resources()

We need to be able to call pci_bridge_distribute_available_resources()
from this function so move it accordingly to avoid need for forward
declaration.

No functional impact.

Link: https://lore.kernel.org/r/20220905080232.36087-4-mika.westerberg@linux.intel.com
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pci/setup-bus.c