PCI: pull pcibios_setup() up into core
authorMyron Stowe <myron.stowe@redhat.com>
Tue, 26 Jun 2012 03:30:57 +0000 (21:30 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 26 Jun 2012 12:22:31 +0000 (06:22 -0600)
commit2b6f2c3520124e8bad4bffa71f5b98e602b9cf03
treef99110de830ffaa0e592d9d66294293ca0c3dd3e
parentcfaf025112d3856637ff34a767ef785ef5cf2ca9
PCI: pull pcibios_setup() up into core

Currently, all of the architectures implement their own pcibios_setup()
routine.  Most of the implementations do nothing so this patch introduces
a generic (__weak) routine in the core that can be used by all
architectures as a default.  If necessary, it can be overridden by
architecture-specific code.

Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
include/linux/pci.h