OSDN Git Service

tile PCI RC: Use default pcibios_enable_device()
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 26 Feb 2014 23:10:25 +0000 (16:10 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 19 Mar 2014 21:00:15 +0000 (15:00 -0600)
commit05d58f6075bfab1f4ef424c6e5a3e22ecc09f015
tree40b17195e2d451529e7487ce75163030d07a9f9b
parentf6baf35f7957aa6986e6897734a0cc4eb442cf94
tile PCI RC: Use default pcibios_enable_device()

We don't need anything arch-specific in pcibios_enable_device(), so drop
the arch implementation and use the default generic one.

Note: pci_enable_resources() checks that r->parent is non-NULL, which
basically checks that pci_claim_resource() or request_resource() has been
called for each BAR.  I don't see where that happens for tile, but this
patch doesn't change that behavior, so if it worked before, it should still
work.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/pci_gx.c