]> git.baikalelectronics.ru Git - kernel.git/commit
ARM/PCI: Remove arch-specific pcibios_enable_device()
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 8 Jun 2016 11:04:50 +0000 (12:04 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Jun 2016 22:15:32 +0000 (17:15 -0500)
commit07a11ad393237614c8a27b24f7e5fd6d670f9b7e
treee483c8b29ee67ba86def6260562d41ada6d3c27e
parent08a249d363162c57d6d972a9183153189142f05d
ARM/PCI: Remove arch-specific pcibios_enable_device()

On systems with PCI_PROBE_ONLY set, we rely on BAR assignments from
firmware.  Previously we did not insert those resources into the resource
tree, so we had to skip pci_enable_resources() because it fails if
resources are not in the resource tree.

Now that we *do* insert resources even when PCI_PROBE_ONLY is set, we no
longer need the ARM-specific pcibios_enable_device().  Remove it so we
use the generic version.

[bhelgaas: changelog]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Will Deacon <will.deacon@arm.com>
CC: Arnd Bergmann <arnd@arndb.de>
CC: Russell King <linux@arm.linux.org.uk>
arch/arm/kernel/bios32.c