aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/eeh.h
diff options
context:
space:
mode:
authorHaren Myneni <haren@us.ibm.com>2005-12-27 21:58:29 -0500
committerPaul Mackerras <paulus@samba.org>2006-01-08 23:35:06 -0500
commit022930ebea0df878d449b7c74309c1d612441ac5 (patch)
tree9d715da714d65d8592dcf2bb3fc41ccfdf255555 /include/asm-powerpc/eeh.h
parent9da5cad61c13fbdc7fc7aa425f03a15da9d0cb43 (diff)
[PATCH] Small fix in eeh definitions when CONFIG_EEH not enabled
Undefined symbols (eeh_add_device_tree_early and eeh_remove_bus_device) when EEH is not enabled. This small patch will fix this. Acked-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/eeh.h')
-rw-r--r--include/asm-powerpc/eeh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/eeh.h b/include/asm-powerpc/eeh.h
index 14c9e8ab3e5f..4395b7bc1ed4 100644
--- a/include/asm-powerpc/eeh.h
+++ b/include/asm-powerpc/eeh.h
@@ -118,6 +118,9 @@ static inline void eeh_add_device_late(struct pci_dev *dev) { }
118 118
119static inline void eeh_remove_device(struct pci_dev *dev) { } 119static inline void eeh_remove_device(struct pci_dev *dev) { }
120 120
121static inline void eeh_add_device_tree_early(struct device_node *dn) { }
122
123static inline void eeh_remove_bus_device(struct pci_dev *dev) { }
121#define EEH_POSSIBLE_ERROR(val, type) (0) 124#define EEH_POSSIBLE_ERROR(val, type) (0)
122#define EEH_IO_ERROR_VALUE(size) (-1UL) 125#define EEH_IO_ERROR_VALUE(size) (-1UL)
123#endif /* CONFIG_EEH */ 126#endif /* CONFIG_EEH */