diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2006-03-08 00:55:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-08 17:14:00 -0500 |
commit | 1c6cc5fd32978ffdc4d0acf8592d3901adefbdad (patch) | |
tree | 3dd4636af527cef94f91d834573b812476d4e1b4 | |
parent | a19cbd4bf258840ade3b6ee9e9256006d0644e09 (diff) |
[PATCH] powerpc: restore eeh_add_device_late() prototype stub
We fixed this:
arch/powerpc/platforms/pseries/eeh.c: In function `eeh_add_device_tree_late':
arch/powerpc/platforms/pseries/eeh.c:901: warning: implicit declaration of function `eeh_add_device_late'
arch/powerpc/platforms/pseries/eeh.c: At top level:
arch/powerpc/platforms/pseries/eeh.c:918: error: conflicting types for 'eeh_add_device_late'
arch/powerpc/platforms/pseries/eeh.c:901: error: previous implicit declaration of 'eeh_add_device_late' was here
make[2]: *** [arch/powerpc/platforms/pseries/eeh.o] Error 1
But we forgot the !CONFIG_EEH stub.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | include/asm-powerpc/eeh.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/eeh.h b/include/asm-powerpc/eeh.h index eb392032e19b..5207758a6dd9 100644 --- a/include/asm-powerpc/eeh.h +++ b/include/asm-powerpc/eeh.h | |||
@@ -118,6 +118,8 @@ static inline void pci_addr_cache_build(void) { } | |||
118 | 118 | ||
119 | static inline void eeh_add_device_early(struct device_node *dn) { } | 119 | static inline void eeh_add_device_early(struct device_node *dn) { } |
120 | 120 | ||
121 | static inline void eeh_add_device_late(struct pci_dev *dev) { } | ||
122 | |||
121 | static inline void eeh_remove_device(struct pci_dev *dev) { } | 123 | static inline void eeh_remove_device(struct pci_dev *dev) { } |
122 | 124 | ||
123 | static inline void eeh_add_device_tree_early(struct device_node *dn) { } | 125 | static inline void eeh_add_device_tree_early(struct device_node *dn) { } |