[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080417093650.GB1677@cs181133002.pp.htv.fi>
Date: Thu, 17 Apr 2008 12:36:50 +0300
From: Adrian Bunk <bunk@...nel.org>
To: gregkh@...e.de
Cc: linux-kernel@...r.kernel.org, linux-pci@...ey.karlin.mff.cuni.cz
Subject: [2.6 patch] 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@...nel.org>
---
include/linux/pci.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
10ac874feed4260ac249df15ff52ab8b911fe4d4 diff --git a/include/linux/pci.h b/include/linux/pci.h
index ea760e5..964e7d9 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1057,7 +1057,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);
#endif /* __KERNEL__ */
#endif /* LINUX_PCI_H */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists