]> 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, 25 Aug 2011 17:54:48 +0000 (13:54 -0400)
commit81c250dcf973e72d5047d3bc5ceb9a0b7a52dec4
tree0cbd52e7982a7c80b1a42c3f8fbc4cb7886bdab9
parentfbc68d6869f5e80e35ab8dfa7615ff90fddf5b5b
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'

arch/arm/mach-omap2/clockdomain.c: In function '_clkdm_lookup':
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