x86/PCI: Factor out pcibios_allocate_dev_rom_resource()
authorYinghai Lu <yinghai@kernel.org>
Sun, 4 Nov 2012 04:39:27 +0000 (21:39 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 7 Jan 2013 22:58:34 +0000 (15:58 -0700)
commitdc2f56fa8400677ef4852d5128f03b795cf57e7b
treee37ae488d36b8f8f149e8f4198600c0c924b3ff5
parent83edc87ce8b284a3d60ab8072e55041c76a68277
x86/PCI: Factor out pcibios_allocate_dev_rom_resource()

Factor pcibios_allocate_rom_resources() and
pcibios_allocate_dev_rom_resource() out of pcibios_assign_resources().
This will allow us to allocate ROM resources for hot-added root buses.

[bhelgaas: changelog]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/i386.c