[PATCH] powerpc: restore eeh_add_device_late() prototype stub
authorMark Fasheh <mark.fasheh@oracle.com>
Wed, 8 Mar 2006 05:55:20 +0000 (21:55 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Mar 2006 22:14:00 +0000 (14:14 -0800)
commit1c6cc5fd32978ffdc4d0acf8592d3901adefbdad
tree3dd4636af527cef94f91d834573b812476d4e1b4
parenta19cbd4bf258840ade3b6ee9e9256006d0644e09
[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>
include/asm-powerpc/eeh.h