aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/trident
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-01-29 09:33:49 -0500
committerJaroslav Kysela <perex@suse.cz>2007-02-09 03:03:19 -0500
commit0cb29ea0d449d7c0ecc9649a08ab63476389701d (patch)
tree64e007b7a767c8e63f32b346c1069804e8e2df80 /sound/pci/trident
parent517400cbc75d0604bc34c1866dff7e55ca1be2b4 (diff)
[ALSA] Add even more 'const' to everything related to TLV
Mark TLV data as 'const' Signed-of-by: Philipp Matthias Hahn <pmhahn@pmhahn.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/trident')
-rw-r--r--sound/pci/trident/trident_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/trident/trident_main.c b/sound/pci/trident/trident_main.c
index 474f2d451ae8..3bff32167f66 100644
--- a/sound/pci/trident/trident_main.c
+++ b/sound/pci/trident/trident_main.c
@@ -2627,7 +2627,7 @@ static int snd_trident_vol_control_get(struct snd_kcontrol *kcontrol,
2627 return 0; 2627 return 0;
2628} 2628}
2629 2629
2630static DECLARE_TLV_DB_SCALE(db_scale_gvol, -6375, 25, 0); 2630static const DECLARE_TLV_DB_SCALE(db_scale_gvol, -6375, 25, 0);
2631 2631
2632static int snd_trident_vol_control_put(struct snd_kcontrol *kcontrol, 2632static int snd_trident_vol_control_put(struct snd_kcontrol *kcontrol,
2633 struct snd_ctl_elem_value *ucontrol) 2633 struct snd_ctl_elem_value *ucontrol)
@@ -2844,7 +2844,7 @@ static int snd_trident_pcm_rvol_control_put(struct snd_kcontrol *kcontrol,
2844 return change; 2844 return change;
2845} 2845}
2846 2846
2847static DECLARE_TLV_DB_SCALE(db_scale_crvol, -3175, 25, 1); 2847static const DECLARE_TLV_DB_SCALE(db_scale_crvol, -3175, 25, 1);
2848 2848
2849static struct snd_kcontrol_new snd_trident_pcm_rvol_control __devinitdata = 2849static struct snd_kcontrol_new snd_trident_pcm_rvol_control __devinitdata =
2850{ 2850{