ASoC: wm0010.c: add static to local variable

Also add const to array

 text	   data	    bss	    dec	    hex	filename
 10946	   2904	   3528	  17378	   43e2	sound/soc/codecs/wm0010.o-before
 10891	   2840	   3512	  17243	   435b	sound/soc/codecs/wm0010.o-after

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
Fabian Frederick 2014-05-27 08:57:55 +02:00 committed by Mark Brown
parent 7171511eae
commit 5bca396919
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ static const struct snd_soc_dapm_route wm0010_dapm_routes[] = {
static const char *wm0010_state_to_str(enum wm0010_state state)
{
const char *state_to_str[] = {
static const char * const state_to_str[] = {
"Power off",
"Out of reset",
"Boot ROM",