PCI: make pci_flags always available
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Feb 2012 21:29:23 +0000 (14:29 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Feb 2012 03:18:55 +0000 (20:18 -0700)
commit47087700ce3ccb2bf69f4dcb6ad7f59764e51308
treea5c59cb190882dfc72026c32308c22aaa5344d05
parent823806ff6bd63f92644a5330cf0c3b68fac25ffd
PCI: make pci_flags always available

If we move resource assignment functions into the core, we'll still
need a way for architectures to prevent reassignment, e.g., the
"pci_probe_only" functionality, and we'll need a generic, always
available way the core can test for that.  The "pci_flags"
arrangement used by several architectures seems like a convenient
way to do this.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/setup-bus.c