Commit a7509874 authored by Takashi Iwai's avatar Takashi Iwai Committed by Mark Brown

ASoC: mc13783: Remove superfluous const

As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Acked-by: default avatarLiam Girdwood <liam.r.girdwood@linux.intel.com>
Acked-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 51e5b59c
...@@ -430,8 +430,8 @@ static const struct snd_kcontrol_new samp_ctl = ...@@ -430,8 +430,8 @@ static const struct snd_kcontrol_new samp_ctl =
static const char * const speaker_amp_source_text[] = { static const char * const speaker_amp_source_text[] = {
"CODEC", "Right" "CODEC", "Right"
}; };
static const SOC_ENUM_SINGLE_DECL(speaker_amp_source, MC13783_AUDIO_RX0, 4, static SOC_ENUM_SINGLE_DECL(speaker_amp_source, MC13783_AUDIO_RX0, 4,
speaker_amp_source_text); speaker_amp_source_text);
static const struct snd_kcontrol_new speaker_amp_source_mux = static const struct snd_kcontrol_new speaker_amp_source_mux =
SOC_DAPM_ENUM("Speaker Amp Source MUX", speaker_amp_source); SOC_DAPM_ENUM("Speaker Amp Source MUX", speaker_amp_source);
...@@ -439,8 +439,8 @@ static const char * const headset_amp_source_text[] = { ...@@ -439,8 +439,8 @@ static const char * const headset_amp_source_text[] = {
"CODEC", "Mixer" "CODEC", "Mixer"
}; };
static const SOC_ENUM_SINGLE_DECL(headset_amp_source, MC13783_AUDIO_RX0, 11, static SOC_ENUM_SINGLE_DECL(headset_amp_source, MC13783_AUDIO_RX0, 11,
headset_amp_source_text); headset_amp_source_text);
static const struct snd_kcontrol_new headset_amp_source_mux = static const struct snd_kcontrol_new headset_amp_source_mux =
SOC_DAPM_ENUM("Headset Amp Source MUX", headset_amp_source); SOC_DAPM_ENUM("Headset Amp Source MUX", headset_amp_source);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment