]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
PCI: drivers/pci/pci.c: add prototypes
authorAdrian Bunk <bunk@kernel.org>
Mon, 5 May 2008 18:25:47 +0000 (21:25 +0300)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 10 Jun 2008 17:59:41 +0000 (10:59 -0700)
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>
include/linux/pci.h

index 509159bcd4e7cad2bba88ecc960ff3ed1bc8840e..aaa9f333fb44fbff58fb1904656050dc5890e4bd 100644 (file)
@@ -1059,7 +1059,10 @@ extern int pci_pci_problems;
 extern unsigned long pci_cardbus_io_size;
 extern unsigned long pci_cardbus_mem_size;
 
-extern int pcibios_add_platform_entries(struct pci_dev *dev);
+int pcibios_add_platform_entries(struct pci_dev *dev);
+void pcibios_disable_device(struct pci_dev *dev);
+int pcibios_set_pcie_reset_state(struct pci_dev *dev,
+                                enum pcie_reset_state state);
 
 #ifdef CONFIG_PCI_MMCONFIG
 extern void __init pci_mmcfg_early_init(void);