* [2.6 patch] drivers/pci/pci.c: add prototypes
@ 2008-05-05 18:25 Adrian Bunk
2008-05-05 19:10 ` Jesse Barnes
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2008-05-05 18:25 UTC (permalink / raw)
To: jbarnes; +Cc: linux-kernel, linux-pci
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>
---
This patch has been sent on:
- 17 Apr 2008
a4c9a22364a94d0be8ccac477860c71b09e8db02 diff --git a/include/linux/pci.h b/include/linux/pci.h
index 96acd0d..aab4123 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1058,7 +1058,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);
^ permalink raw reply [flat|nested] 3+ messages in thread
* [2.6 patch] drivers/pci/pci.c: add prototypes
@ 2008-04-17 9:36 Adrian Bunk
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-04-17 9:36 UTC (permalink / raw)
To: gregkh; +Cc: linux-kernel, linux-pci
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>
---
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 */
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-05 19:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-05 18:25 [2.6 patch] drivers/pci/pci.c: add prototypes Adrian Bunk
2008-05-05 19:10 ` Jesse Barnes
-- strict thread matches above, loose matches on Subject: below --
2008-04-17 9:36 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®