summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-16 17:07:42 -0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-17 08:10:06 -0800
commit3056557f3b2387d4ac99ca8af14956cd2bf003c2 (patch)
tree50e637171d2a717c7e3993d5ae6b684e3cebc1bf /include/sound/soc.h
parent7bd3a6f34cdd4b1776ca34d0b6fab216e9323759 (diff)
downloadlinux-3056557f3b2387d4ac99ca8af14956cd2bf003c2.tar.bz2
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 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 8fa4dcaa096b..1e16d6e3f2a8 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -366,7 +366,7 @@ void snd_soc_free_ac97_codec(struct snd_soc_codec *codec);
*Controls
*/
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);
int snd_soc_add_codec_controls(struct snd_soc_codec *codec,
const struct snd_kcontrol_new *controls, int num_controls);