sparc: fix sparc64 build due to leon.h inclusion
authorSam Ravnborg <sam@ravnborg.org>
Tue, 29 May 2012 08:14:14 +0000 (08:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2012 19:47:38 +0000 (12:47 -0700)
commite49e6ff553ffee2e747a8e331a9dcf3a80555944
tree70c7c66a8d093e523ff4e53694ae83ee70939cf0
parent4fd8bc671887fa02bc19722f6c3707bd7b8a2604
sparc: fix sparc64 build due to leon.h inclusion

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: Sam Ravnborg <sam@ravnborg.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/leon.h
arch/sparc/kernel/prom_common.c