From: Andrew Morton arch/mips/mm/init.c:495: error: conflicting types for 'prom_free_prom_memory' include/asm/bootinfo.h:246: error: previous declaration of 'prom_free_prom_memory' was here arch/mips/mm/init.c:495: error: conflicting types for 'prom_free_prom_memory' include/asm/bootinfo.h:246: error: previous declaration of 'prom_free_prom_memory' was here Cc: Ralf Baechle Signed-off-by: Andrew Morton --- arch/mips/mm/init.c | 2 -- asm/bootinfo.h | 0 2 files changed, 2 deletions(-) diff -puN arch/mips/mm/init.c~git-mips-prom_free_prom_memory-borkage arch/mips/mm/init.c --- a/arch/mips/mm/init.c~git-mips-prom_free_prom_memory-borkage +++ a/arch/mips/mm/init.c @@ -492,8 +492,6 @@ void free_initrd_mem(unsigned long start } #endif -extern unsigned long prom_free_prom_memory(void); - void free_initmem(void) { prom_free_prom_memory(); diff -puN include/asm/bootinfo.h~git-mips-prom_free_prom_memory-borkage include/asm/bootinfo.h _