• Paul Gortmaker's avatar
    powerpc: fix system.h fallout in sysdev/scom.c [chroma_defconfig] · 1bc68a9e
    Paul Gortmaker authored
    The following shows up in chroma_defconfig:
    
     CC      arch/powerpc/sysdev/scom.o
    arch/powerpc/sysdev/scom.c: In function 'scom_debug_init':
    arch/powerpc/sysdev/scom.c:182:36: error: 'powerpc_debugfs_root' undeclared (first use in this function)
    arch/powerpc/sysdev/scom.c:182:36: note: each undeclared identifier is reported only once for each function it appears in
    make[2]: *** [arch/powerpc/sysdev/scom.o] Error 1
    make[1]: *** [arch/powerpc/sysdev/scom.o] Error 2
    
    A bisect leads to commit 9ffc93f2
    
        "Remove all #inclusions of asm/system.h"
    
    Add the debug header which contains powerpc_debugfs_root.
    Acked-by: default avatarDavid Howells <dhowells@redhat.com>
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    1bc68a9e
scom.c 4.35 KB