diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-16 17:07:42 -0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-17 08:10:06 -0800 |
commit | 3056557f3b2387d4ac99ca8af14956cd2bf003c2 (patch) | |
tree | 50e637171d2a717c7e3993d5ae6b684e3cebc1bf /sound | |
parent | 7bd3a6f34cdd4b1776ca34d0b6fab216e9323759 (diff) | |
download | op-kernel-dev-3056557f3b2387d4ac99ca8af14956cd2bf003c2.zip op-kernel-dev-3056557f3b2387d4ac99ca8af14956cd2bf003c2.tar.gz |
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')
-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 7645b8a..77d230c 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); * Returns 0 for success, else error. */ struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template, - void *data, char *long_name, + void *data, const char *long_name, const char *prefix) { struct snd_kcontrol_new template; |