]> 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, 11 Aug 2011 19:10:30 +0000 (15:10 -0400)
commit68d42873fc16a78fb4edce206350fbbece5c79b4
treebda18ee43746c46a5bf0e3d75ea2a2b31446ce89
parentb1c69537699affecbb570c6fbd011a1d3b673740
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