diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-16 20:07:42 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-17 11:10:06 -0500 |
commit | 3056557f3b2387d4ac99ca8af14956cd2bf003c2 (patch) | |
tree | 50e637171d2a717c7e3993d5ae6b684e3cebc1bf /sound/soc/soc-core.c | |
parent | 7bd3a6f34cdd4b1776ca34d0b6fab216e9323759 (diff) |
ASoC: dapm: Constify lots of names that are never modified
Neater and avoids warnings when used in other places where const strings
are desired.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r-- | sound/soc/soc-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 7645b8a545cf..77d230cba61a 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -2018,7 +2018,7 @@ EXPORT_SYMBOL_GPL(snd_soc_set_runtime_hwparams); | |||
2018 | * Returns 0 for success, else error. | 2018 | * Returns 0 for success, else error. |
2019 | */ | 2019 | */ |
2020 | struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template, | 2020 | struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template, |
2021 | void *data, char *long_name, | 2021 | void *data, const char *long_name, |
2022 | const char *prefix) | 2022 | const char *prefix) |
2023 | { | 2023 | { |
2024 | struct snd_kcontrol_new template; | 2024 | struct snd_kcontrol_new template; |