diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-03-01 01:58:38 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-01 01:58:38 -0500 |
commit | 68727fed5469100bec0764207d7efb7a9ecdee29 (patch) | |
tree | 7afb58ab7665b90122d3b4505be5c6c9f8bade4b /include/asm-powerpc | |
parent | dbfedbb98145375106cee7ec7269611d553819dc (diff) | |
parent | b5b9d6647c1cd5eee90b58941c55f874c2a7e707 (diff) | |
download | kernel-crypto-68727fed5469100bec0764207d7efb7a9ecdee29.tar.gz kernel-crypto-68727fed5469100bec0764207d7efb7a9ecdee29.tar.xz kernel-crypto-68727fed5469100bec0764207d7efb7a9ecdee29.zip |
Merge branch 'upstream-fixes'
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/eeh.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/asm-powerpc/eeh.h b/include/asm-powerpc/eeh.h index b263fb2fa6e..7dfb408fe2c 100644 --- a/include/asm-powerpc/eeh.h +++ b/include/asm-powerpc/eeh.h @@ -27,6 +27,7 @@ #include <linux/string.h> struct pci_dev; +struct pci_bus; struct device_node; #ifdef CONFIG_EEH @@ -61,7 +62,7 @@ void __init pci_addr_cache_build(void); */ void eeh_add_device_early(struct device_node *); void eeh_add_device_tree_early(struct device_node *); -void eeh_add_device_late(struct pci_dev *); +void eeh_add_device_tree_late(struct pci_bus *); /** * eeh_remove_device - undo EEH setup for the indicated pci device @@ -116,12 +117,12 @@ static inline void pci_addr_cache_build(void) { } static inline void eeh_add_device_early(struct device_node *dn) { } -static inline void eeh_add_device_late(struct pci_dev *dev) { } - static inline void eeh_remove_device(struct pci_dev *dev) { } static inline void eeh_add_device_tree_early(struct device_node *dn) { } +static inline void eeh_add_device_tree_late(struct pci_bus *bus) { } + static inline void eeh_remove_bus_device(struct pci_dev *dev) { } #define EEH_POSSIBLE_ERROR(val, type) (0) #define EEH_IO_ERROR_VALUE(size) (-1UL) |