Skip to content

Commit

Permalink
ARM: 7492/1: add strstr declaration for decompressors
Browse files Browse the repository at this point in the history
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 <[email protected]>
Tested-by: Thomas Petazzoni <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
Rob Herring authored and popcornmix committed Feb 28, 2013
1 parent 89caf39 commit 1dc7910
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/boot/compressed/decompress.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ extern void error(char *);
# define Tracecv(c,x)
#endif

/* Not needed, but used in some headers pulled in by decompressors */
extern char * strstr(const char * s1, const char *s2);

#ifdef CONFIG_KERNEL_GZIP
#include "../../../../lib/decompress_inflate.c"
#endif
Expand Down

0 comments on commit 1dc7910

Please sign in to comment.