summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-11-14 13:53:00 -0500
committerMike Frysinger <vapier@gentoo.org>2010-01-17 09:17:27 -0500
commitea693f22d8dbd8a65867a60a7f3faac30f85d65b (patch)
treeee145fd8b1082702069f2a30276eb28e2f9d086e
parentf948158f72e6b880d02e4fa549362e4dc285eb1c (diff)
downloadu-boot-imx-ea693f22d8dbd8a65867a60a7f3faac30f85d65b.zip
u-boot-imx-ea693f22d8dbd8a65867a60a7f3faac30f85d65b.tar.gz
u-boot-imx-ea693f22d8dbd8a65867a60a7f3faac30f85d65b.tar.bz2
Blackfin: asm/string.h: drop useless includes
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--include/asm-blackfin/string.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-blackfin/string.h b/include/asm-blackfin/string.h
index 18306dd..117f44c 100644
--- a/include/asm-blackfin/string.h
+++ b/include/asm-blackfin/string.h
@@ -29,9 +29,6 @@
#ifdef __KERNEL__ /* only set these up for kernel code */
-#include <config.h>
-#include <asm/blackfin.h>
-
#define __HAVE_ARCH_STRCPY
#define __HAVE_ARCH_STRNCPY
#define __HAVE_ARCH_STRCMP
@@ -47,7 +44,7 @@ extern int strcmp(const char *cs, const char *ct);
extern int strncmp(const char *cs, const char *ct, size_t count);
extern void *memcpy(void *dest, const void *src, size_t count);
extern void *memset(void *s, int c, size_t count);
-extern int memcmp(const void *, const void *, __kernel_size_t);
+extern int memcmp(const void *, const void *, size_t);
extern void *memmove(void *dest, const void *src, size_t count);
#else /* KERNEL */