]> 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>
Sun, 31 Jul 2011 08:05:18 +0000 (04:05 -0400)
commit130472cf9cc52876cba06eb06e8d699941392e1e
tree9c7d387e629b1be8cd7c5339d59f1d2c7a96a5cd
parent3c78bfbec10740875c8566c9444dd0bd9ff8c1e9
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