ARM: SAMSUNG: Fix build error from stale define in <plat/uncompress.h>
authorBen Dooks <ben-linux@fluff.org>
Mon, 15 Mar 2010 22:57:18 +0000 (22:57 +0000)
committerBen Dooks <ben-linux@fluff.org>
Mon, 15 Mar 2010 22:57:18 +0000 (22:57 +0000)
The decleration of error() as static in the platform specific uncompress
code in  arch/arm/plat-samsung/include/plat/uncomopress.h causes the build
of the uncompressor to break. Remove it, as it is no longer needed.

arch/arm/boot/compressed/decompress.o: In function `gunzip':
/var/tmp/kernel-orig/arch/arm/boot/compressed/../../../../lib/decompress_inflate.c:67: undefined reference to `error'
/var/tmp/kernel-orig/arch/arm/boot/compressed/../../../../lib/decompress_inflate.c:73: undefined reference to `error'
/var/tmp/kernel-orig/arch/arm/boot/compressed/../../../../lib/decompress_inflate.c:80: undefined reference to `error'
/var/tmp/kernel-orig/arch/arm/boot/compressed/../../../../lib/decompress_inflate.c:95: undefined reference to `error'
/var/tmp/kernel-orig/arch/arm/boot/compressed/../../../../lib/decompress_inflate.c:152: undefined reference to `error'

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-samsung/include/plat/uncompress.h

index e87ce8ffbbcdac18833d19aa98a253832a1ae6e4..7d6ed7263d578a70326a32961bcfdfd3125fa1e6 100644 (file)
@@ -140,8 +140,6 @@ static void arch_decomp_error(const char *x)
 #define arch_error arch_decomp_error
 #endif
 
-static void error(char *err);
-
 #ifdef CONFIG_S3C_BOOT_UART_FORCE_FIFO
 static inline void arch_enable_uart_fifo(void)
 {