arm: fix implicit memset/string.h usage in various arch/arm files
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 14:52:44 +0000 (10:52 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:45 +0000 (19:30 -0400)
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>
arch/arm/kernel/leds.c
arch/arm/mach-omap2/clockdomain.c
arch/arm/mach-omap2/display.c
arch/arm/mach-omap2/gpmc-onenand.c
arch/arm/mach-omap2/usb-tusb6010.c

index 0f107dcb034790d3be0b7405b7c235034d495868..09b9fe2249922f9494b5ab8da68de706dce3adcf 100644 (file)
@@ -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>
 
index 8f0890685d7b10f7f594e9cd44c8a972c33d15e9..fe36081b0d675a45c3f8811151b35b511ebfbb40 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/device.h>
 #include <linux/list.h>
 #include <linux/errno.h>
+#include <linux/string.h>
 #include <linux/delay.h>
 #include <linux/clk.h>
 #include <linux/limits.h>
index 62510ec863c6293e7646f3161e928d50ff5206b8..9e2179f6322910cbdcfef732235037ac94a1c7cc 100644 (file)
@@ -15,6 +15,7 @@
  * GNU General Public License for more details.
  */
 
+#include <linux/string.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
index d776ded9830d922188d87873268ac522697e6228..5cdce10d61835d50f9ebca84d108f6b31509cb5b 100644 (file)
@@ -10,6 +10,7 @@
  * published by the Free Software Foundation.
  */
 
+#include <linux/string.h>
 #include <linux/kernel.h>
 #include <linux/platform_device.h>
 #include <linux/mtd/onenand_regs.h>
index 8dd26b765b7d3f3aa976d8907f6eb8d0b631b1d1..11760d2e29075d7b0860640a3f038983704f3b7e 100644 (file)
@@ -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>