ALSA: aoa: Constify snd_kcontrol_new items
[sfrench/cifs-2.6.git] / sound / aoa / codecs / tas.c
index c60b78367fc9136a1b349fe5773459f2db56f87e..d3e37577b52990e6fbc5b186db59dcc75be1d8e5 100644 (file)
@@ -369,7 +369,7 @@ static int tas_snd_mixer_put(struct snd_kcontrol *kcontrol,
 }
 
 #define MIXER_CONTROL(n,descr,idx)                     \
-static struct snd_kcontrol_new n##_control = {         \
+static const struct snd_kcontrol_new n##_control = {   \
        .iface = SNDRV_CTL_ELEM_IFACE_MIXER,            \
        .name = descr " Playback Volume",               \
        .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,      \