summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-05-27 08:57:55 +0200
committerMark Brown <broonie@linaro.org>2014-06-27 12:53:52 +0100
commit5bca396919aed5fbed61197019824bd3ff9f127d (patch)
tree5ce02b2d2d2c15f0c122b019a157305498433a0c /sound
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
downloadlinux-stable-5bca396919aed5fbed61197019824bd3ff9f127d.tar.gz
linux-stable-5bca396919aed5fbed61197019824bd3ff9f127d.tar.bz2
linux-stable-5bca396919aed5fbed61197019824bd3ff9f127d.zip
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm0010.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
index 71ce3159a62e..65d7c79716a0 100644
--- a/sound/soc/codecs/wm0010.c
+++ b/sound/soc/codecs/wm0010.c
@@ -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",