aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-31 10:52:44 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:30:45 -0400
commitd44b28c49e7ab3baf280100ab86d8e7ef9204e45 (patch)
treeb8bf7e8b8ec02ce8bdbb016ad43c20961f487cd7 /arch/arm/kernel
parentarm: add elf.h to arch/arm/kernel/ptrace.c (diff)
downloadlinux-dev-d44b28c49e7ab3baf280100ab86d8e7ef9204e45.tar.xz
linux-dev-d44b28c49e7ab3baf280100ab86d8e7ef9204e45.zip
arm: fix implicit memset/string.h usage in various arch/arm files
To fix things like this: arch/arm/mach-omap2/usb-tusb6010.c:58: error: implicit declaration of function 'memset' arch/arm/kernel/leds.c:40: error: implicit declaration of function 'strcspn' arch/arm/kernel/leds.c:40: warning: incompatible implicit declaration of built-in function 'strcspn' arch/arm/kernel/leds.c:45: error: implicit declaration of function 'strncmp' arch/arm/kernel/leds.c:55: error: implicit declaration of function 'strlen' arch/arm/kernel/leds.c:55: warning: incompatible implicit declaration of built-in function 'strlen' arch/arm/mach-omap2/clockdomain.c:52: error: implicit declaration of function 'strcmp' Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r--arch/arm/kernel/leds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/leds.c b/arch/arm/kernel/leds.c
index 0f107dcb0347..09b9fe224992 100644
--- a/arch/arm/kernel/leds.c
+++ b/arch/arm/kernel/leds.c
@@ -11,6 +11,7 @@
#include <linux/init.h>
#include <linux/sysdev.h>
#include <linux/syscore_ops.h>
+#include <linux/string.h>
#include <asm/leds.h>