]> git.karo-electronics.de Git - linux-beck.git/commit
x86/PCI: Factor out pcibios_allocate_dev_resources()
authorYinghai Lu <yinghai@kernel.org>
Sun, 4 Nov 2012 04:39:25 +0000 (21:39 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 7 Jan 2013 21:47:16 +0000 (14:47 -0700)
commitc7f4bbc92feee2986212ef3b42c806e2257197dc
tree99c6a587123b3c5b4067f82ff1ad331a041b7fc1
parentf7ac356dc3da1f69dc52cb6273e08e53b85b4884
x86/PCI: Factor out pcibios_allocate_dev_resources()

Factor pcibios_allocate_dev_resources() out of
pcibios_allocate_resources().  Currently we only allocate these
resources at boot-time with a for_each_pci_dev() loop.  Eventually
we'll use pcibios_allocate_dev_resources() for hot-added devices, too.

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