diff options
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/eeh.h | 4 | ||||
-rw-r--r-- | arch/powerpc/include/asm/ppc-pci.h | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/arch/powerpc/include/asm/eeh.h b/arch/powerpc/include/asm/eeh.h index ebfdb7c9d023..58c5ee61e700 100644 --- a/arch/powerpc/include/asm/eeh.h +++ b/arch/powerpc/include/asm/eeh.h | |||
@@ -197,7 +197,7 @@ int __exit eeh_ops_unregister(const char *name); | |||
197 | unsigned long eeh_check_failure(const volatile void __iomem *token, | 197 | unsigned long eeh_check_failure(const volatile void __iomem *token, |
198 | unsigned long val); | 198 | unsigned long val); |
199 | int eeh_dev_check_failure(struct eeh_dev *edev); | 199 | int eeh_dev_check_failure(struct eeh_dev *edev); |
200 | void __init pci_addr_cache_build(void); | 200 | void __init eeh_addr_cache_build(void); |
201 | void eeh_add_device_tree_early(struct device_node *); | 201 | void eeh_add_device_tree_early(struct device_node *); |
202 | void eeh_add_device_tree_late(struct pci_bus *); | 202 | void eeh_add_device_tree_late(struct pci_bus *); |
203 | void eeh_remove_bus_device(struct pci_dev *); | 203 | void eeh_remove_bus_device(struct pci_dev *); |
@@ -233,7 +233,7 @@ static inline unsigned long eeh_check_failure(const volatile void __iomem *token | |||
233 | 233 | ||
234 | #define eeh_dev_check_failure(x) (0) | 234 | #define eeh_dev_check_failure(x) (0) |
235 | 235 | ||
236 | static inline void pci_addr_cache_build(void) { } | 236 | static inline void eeh_addr_cache_build(void) { } |
237 | 237 | ||
238 | static inline void eeh_add_device_tree_early(struct device_node *dn) { } | 238 | static inline void eeh_add_device_tree_early(struct device_node *dn) { } |
239 | 239 | ||
diff --git a/arch/powerpc/include/asm/ppc-pci.h b/arch/powerpc/include/asm/ppc-pci.h index 962a9021cfa6..ed57fa7920c8 100644 --- a/arch/powerpc/include/asm/ppc-pci.h +++ b/arch/powerpc/include/asm/ppc-pci.h | |||
@@ -47,10 +47,9 @@ extern int rtas_setup_phb(struct pci_controller *phb); | |||
47 | 47 | ||
48 | #ifdef CONFIG_EEH | 48 | #ifdef CONFIG_EEH |
49 | 49 | ||
50 | void pci_addr_cache_build(void); | 50 | void eeh_addr_cache_insert_dev(struct pci_dev *dev); |
51 | void pci_addr_cache_insert_device(struct pci_dev *dev); | 51 | void eeh_addr_cache_rmv_dev(struct pci_dev *dev); |
52 | void pci_addr_cache_remove_device(struct pci_dev *dev); | 52 | struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr); |
53 | struct eeh_dev *pci_addr_cache_get_device(unsigned long addr); | ||
54 | void eeh_slot_error_detail(struct eeh_pe *pe, int severity); | 53 | void eeh_slot_error_detail(struct eeh_pe *pe, int severity); |
55 | int eeh_pci_enable(struct eeh_pe *pe, int function); | 54 | int eeh_pci_enable(struct eeh_pe *pe, int function); |
56 | int eeh_reset_pe(struct eeh_pe *); | 55 | int eeh_reset_pe(struct eeh_pe *); |