diff options
author | Myron Stowe <mstowe@redhat.com> | 2011-10-28 15:47:35 -0600 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-01-06 12:10:35 -0800 |
commit | cfce9fb808d7d25f6ea18a804eb71b08c7d777c1 (patch) | |
tree | 5266c63ab2a128a65ef830aee2e2ec1020aad4a4 | |
parent | 2502dbdfc878a801b5e6d0b6901c334f4051ca39 (diff) | |
download | op-kernel-dev-cfce9fb808d7d25f6ea18a804eb71b08c7d777c1.zip op-kernel-dev-cfce9fb808d7d25f6ea18a804eb71b08c7d777c1.tar.gz |
PCI: add declaration for pcibios_set_master() to pci core
Currently, pcibios_set_master() is implemented in architecture-
specific code. There is nothing architecture-specific about PCI's
'latency timer'.
This patch adds a declaration for pcibios_set_master() to PCI's core
in preperation for pulling the function itself up into the core.
Without the addition of this declaration, subsequent patches that
remove inline definitions of pcibios_set_master() would be removing
the only declaration of such.
No functional change.
Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 4286b85..569341d 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1453,8 +1453,10 @@ extern u8 pci_cache_line_size; extern unsigned long pci_hotplug_io_size; extern unsigned long pci_hotplug_mem_size; +/* Architecture specific versions may override these (weak) */ int pcibios_add_platform_entries(struct pci_dev *dev); void pcibios_disable_device(struct pci_dev *dev); +void pcibios_set_master(struct pci_dev *dev); int pcibios_set_pcie_reset_state(struct pci_dev *dev, enum pcie_reset_state state); |