Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: 7492/1: add strstr declaration for decompressors

With the generic unaligned.h, more kernel headers get pulled in including
dynamic_debug.h which needs strstr. As it is not really used, we only need
a declaration here.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Rob Herring and committed by
Russell King
ef1c2096 4a8052d8

+3
+3
arch/arm/boot/compressed/decompress.c
··· 32 32 # define Tracecv(c,x) 33 33 #endif 34 34 35 + /* Not needed, but used in some headers pulled in by decompressors */ 36 + extern char * strstr(const char * s1, const char *s2); 37 + 35 38 #ifdef CONFIG_KERNEL_GZIP 36 39 #include "../../../../lib/decompress_inflate.c" 37 40 #endif