]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm: fix implicit usage of string.h in kernel/leds.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 22 Jul 2011 14:56:23 +0000 (10:56 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 03:43:22 +0000 (23:43 -0400)
commita13d23285ca39b86aed5ae0e1ba6c2f6f5af4a8b
tree5fa73fbf583f41cb19c64595abfe0083c2dc980b
parent44194e2350123e2fa8c1486986435fdcd219b724
arm: fix implicit usage of string.h in kernel/leds.c

The use of these string ops was implicitly hidden by the use
of module.h, but that is going away shortly.  When it does, this
will break as follows:

arch/arm/kernel/leds.c: In function 'leds_store':
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'
make[2]: *** [arch/arm/kernel/leds.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/arm/kernel/leds.c