• Mark Fasheh's avatar
    [PATCH] powerpc: restore eeh_add_device_late() prototype stub · 1c6cc5fd
    Mark Fasheh authored
    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: default avatarMark Fasheh <mark.fasheh@oracle.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    1c6cc5fd
eeh.h 10.1 KB