diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-31 16:52:44 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-01 00:30:45 +0100 |
commit | d44b28c49e7ab3baf280100ab86d8e7ef9204e45 (patch) | |
tree | b8bf7e8b8ec02ce8bdbb016ad43c20961f487cd7 /arch/arm/mach-omap2/usb-tusb6010.c | |
parent | arm: add elf.h to arch/arm/kernel/ptrace.c (diff) | |
download | linux-d44b28c49e7ab3baf280100ab86d8e7ef9204e45.tar.xz linux-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/mach-omap2/usb-tusb6010.c')
-rw-r--r-- | arch/arm/mach-omap2/usb-tusb6010.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/usb-tusb6010.c b/arch/arm/mach-omap2/usb-tusb6010.c index 8dd26b765b7d..11760d2e2907 100644 --- a/arch/arm/mach-omap2/usb-tusb6010.c +++ b/arch/arm/mach-omap2/usb-tusb6010.c @@ -8,6 +8,7 @@ * published by the Free Software Foundation. */ +#include <linux/string.h> #include <linux/types.h> #include <linux/errno.h> #include <linux/delay.h> |