PCI: Add pcibios_add_device
authorMatthew Garrett <mjg@redhat.com>
Wed, 5 Dec 2012 21:33:27 +0000 (14:33 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 5 Dec 2012 21:38:26 +0000 (14:38 -0700)
commiteca0d4676d8e29c209ddce0c0c1755472ffc70a6
tree0455ac26c96f0a383665fe353d28dbeaa3e1f14b
parentdd5fc854de5fd37adfcef8a366cd21a55aa01d3d
PCI: Add pcibios_add_device

Platforms may want to provide architecture-specific functionality during
PCI enumeration. Add a pcibios_add_device() call that architectures can
override to do so.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Seth Forshee <seth.forshee@canonical.com>
drivers/pci/bus.c
drivers/pci/pci.c
include/linux/pci.h