ARM64/PCI: Remove arch-specific pcibios_enable_device()
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 8 Jun 2016 11:04:49 +0000 (12:04 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Jun 2016 22:15:30 +0000 (17:15 -0500)
commitf615bca4ccb9a91b33f0d378503b070fad97e181
treebd3c85d88dbc260c30a5edd96b93c265db257bc0
parent046136170a56ba47338fbd10fdf4db4214b30567
ARM64/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 ARM64-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: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/pci.c