aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pcmcia/vx
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/pcmcia/vx
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/pcmcia/vx')
-rw-r--r--sound/pcmcia/vx/vxp_mixer.c2
-rw-r--r--sound/pcmcia/vx/vxpocket.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/pcmcia/vx/vxp_mixer.c b/sound/pcmcia/vx/vxp_mixer.c
index bced7b623b12..2b1f996c898d 100644
--- a/sound/pcmcia/vx/vxp_mixer.c
+++ b/sound/pcmcia/vx/vxp_mixer.c
@@ -64,7 +64,7 @@ static int vx_mic_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_v
64 return 0; 64 return 0;
65} 65}
66 66
67static DECLARE_TLV_DB_SCALE(db_scale_mic, -21, 3, 0); 67static const DECLARE_TLV_DB_SCALE(db_scale_mic, -21, 3, 0);
68 68
69static struct snd_kcontrol_new vx_control_mic_level = { 69static struct snd_kcontrol_new vx_control_mic_level = {
70 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 70 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c
index d7df59e9c647..363bcb5f08e6 100644
--- a/sound/pcmcia/vx/vxpocket.c
+++ b/sound/pcmcia/vx/vxpocket.c
@@ -91,7 +91,7 @@ static int snd_vxpocket_dev_free(struct snd_device *device)
91 * Only output levels can be modified 91 * Only output levels can be modified
92 */ 92 */
93 93
94static DECLARE_TLV_DB_SCALE(db_scale_old_vol, -11350, 50, 0); 94static const DECLARE_TLV_DB_SCALE(db_scale_old_vol, -11350, 50, 0);
95 95
96static struct snd_vx_hardware vxpocket_hw = { 96static struct snd_vx_hardware vxpocket_hw = {
97 .name = "VXPocket", 97 .name = "VXPocket",