ARM: Fix RiscPC decompressor build errors
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 15 Mar 2010 22:04:24 +0000 (22:04 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 15 Mar 2010 22:04:54 +0000 (22:04 +0000)
arch/arm/boot/compressed/decompress.o: In function `do_decompress':
decompress.c:(.text+0x26e8): undefined reference to `error'
decompress.c:(.text+0x2760): undefined reference to `error'
decompress.c:(.text+0x27d8): undefined reference to `error'
decompress.c:(.text+0x2824): undefined reference to `error'
decompress.c:(.text+0x28f0): undefined reference to `error'

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-rpc/include/mach/uncompress.h

index d5862368c4f20853a8b333d8ca1ab68bf2771ac0..8c9e2c7161c6f70a03bd3968b7b07f40298a4b91 100644 (file)
@@ -109,8 +109,6 @@ static inline void flush(void)
 {
 }
 
-static void error(char *x);
-
 /*
  * Setup for decompression
  */