• Sam Ravnborg's avatar
    sparc: fix sparc64 build due to leon.h inclusion · e49e6ff5
    Sam Ravnborg authored
    Stephen Rothwell <sfr@canb.auug.org.au> reported following error:
    In file included from arch/sparc/kernel/prom_common.c:26:0:
    arch/sparc/include/asm/leon.h:221:9: error: unknown type name 'irq_flow_handler_t'
    arch/sparc/include/asm/leon.h:224:10: error: unknown type name 'irq_flow_handler_t'
    
    Fix this by:
    1) Avoid including leon.h in prom_commen.h (not needed)
    2) Include irq.h in leon.h to avoid the missing symbol error
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    Cc: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    e49e6ff5
prom_common.c 3.53 KB