Skip to content

Commit

Permalink
ASoC: wm0010.c: add static to local variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabian Frederick authored and Mark Brown committed Jun 27, 2014
1 parent 7171511 commit 5bca396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm0010.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5bca396

Please sign in to comment.