diff options
Diffstat (limited to 'sound/aoa/codecs/tas.c')
-rw-r--r-- | sound/aoa/codecs/tas.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/aoa/codecs/tas.c b/sound/aoa/codecs/tas.c index 78ed1ffbf786..733b6365dad6 100644 --- a/sound/aoa/codecs/tas.c +++ b/sound/aoa/codecs/tas.c | |||
@@ -271,7 +271,7 @@ static int tas_snd_vol_put(struct snd_kcontrol *kcontrol, | |||
271 | return 1; | 271 | return 1; |
272 | } | 272 | } |
273 | 273 | ||
274 | static struct snd_kcontrol_new volume_control = { | 274 | static const struct snd_kcontrol_new volume_control = { |
275 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 275 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
276 | .name = "Master Playback Volume", | 276 | .name = "Master Playback Volume", |
277 | .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, | 277 | .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, |
@@ -314,7 +314,7 @@ static int tas_snd_mute_put(struct snd_kcontrol *kcontrol, | |||
314 | return 1; | 314 | return 1; |
315 | } | 315 | } |
316 | 316 | ||
317 | static struct snd_kcontrol_new mute_control = { | 317 | static const struct snd_kcontrol_new mute_control = { |
318 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 318 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
319 | .name = "Master Playback Switch", | 319 | .name = "Master Playback Switch", |
320 | .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, | 320 | .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, |
@@ -426,7 +426,7 @@ static int tas_snd_drc_range_put(struct snd_kcontrol *kcontrol, | |||
426 | return 1; | 426 | return 1; |
427 | } | 427 | } |
428 | 428 | ||
429 | static struct snd_kcontrol_new drc_range_control = { | 429 | static const struct snd_kcontrol_new drc_range_control = { |
430 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 430 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
431 | .name = "DRC Range", | 431 | .name = "DRC Range", |
432 | .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, | 432 | .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, |
@@ -466,7 +466,7 @@ static int tas_snd_drc_switch_put(struct snd_kcontrol *kcontrol, | |||
466 | return 1; | 466 | return 1; |
467 | } | 467 | } |
468 | 468 | ||
469 | static struct snd_kcontrol_new drc_switch_control = { | 469 | static const struct snd_kcontrol_new drc_switch_control = { |
470 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 470 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
471 | .name = "DRC Range Switch", | 471 | .name = "DRC Range Switch", |
472 | .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, | 472 | .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, |
@@ -524,7 +524,7 @@ static int tas_snd_capture_source_put(struct snd_kcontrol *kcontrol, | |||
524 | return 1; | 524 | return 1; |
525 | } | 525 | } |
526 | 526 | ||
527 | static struct snd_kcontrol_new capture_source_control = { | 527 | static const struct snd_kcontrol_new capture_source_control = { |
528 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 528 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
529 | /* If we name this 'Input Source', it properly shows up in | 529 | /* If we name this 'Input Source', it properly shows up in |
530 | * alsamixer as a selection, * but it's shown under the | 530 | * alsamixer as a selection, * but it's shown under the |
@@ -586,7 +586,7 @@ static int tas_snd_treble_put(struct snd_kcontrol *kcontrol, | |||
586 | return 1; | 586 | return 1; |
587 | } | 587 | } |
588 | 588 | ||
589 | static struct snd_kcontrol_new treble_control = { | 589 | static const struct snd_kcontrol_new treble_control = { |
590 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 590 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
591 | .name = "Treble", | 591 | .name = "Treble", |
592 | .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, | 592 | .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, |
@@ -637,7 +637,7 @@ static int tas_snd_bass_put(struct snd_kcontrol *kcontrol, | |||
637 | return 1; | 637 | return 1; |
638 | } | 638 | } |
639 | 639 | ||
640 | static struct snd_kcontrol_new bass_control = { | 640 | static const struct snd_kcontrol_new bass_control = { |
641 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 641 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
642 | .name = "Bass", | 642 | .name = "Bass", |
643 | .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, | 643 | .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, |