diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-05-05 14:25:47 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-06-10 13:59:41 -0400 |
commit | 19792a0859f96e9fc8ce87d97b269bcb895389e5 (patch) | |
tree | 3743d82131c402c445f8f1c5afb8933bb767f8a8 /include | |
parent | 552fe04aa242f164f126abfdb3f6f90fd6679d9f (diff) |
PCI: drivers/pci/pci.c: add prototypes
This patch adds prototypes for pcibios_disable_device() and
pcibios_set_pcie_reset_state() in include/linux/pci.h
While I was at it, I also removed the unneeded "extern" from the
prototype of pcibios_add_platform_entries().
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pci.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 509159bcd4e7..aaa9f333fb44 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -1059,7 +1059,10 @@ extern int pci_pci_problems; | |||
1059 | extern unsigned long pci_cardbus_io_size; | 1059 | extern unsigned long pci_cardbus_io_size; |
1060 | extern unsigned long pci_cardbus_mem_size; | 1060 | extern unsigned long pci_cardbus_mem_size; |
1061 | 1061 | ||
1062 | extern int pcibios_add_platform_entries(struct pci_dev *dev); | 1062 | int pcibios_add_platform_entries(struct pci_dev *dev); |
1063 | void pcibios_disable_device(struct pci_dev *dev); | ||
1064 | int pcibios_set_pcie_reset_state(struct pci_dev *dev, | ||
1065 | enum pcie_reset_state state); | ||
1063 | 1066 | ||
1064 | #ifdef CONFIG_PCI_MMCONFIG | 1067 | #ifdef CONFIG_PCI_MMCONFIG |
1065 | extern void __init pci_mmcfg_early_init(void); | 1068 | extern void __init pci_mmcfg_early_init(void); |