aboutsummaryrefslogtreecommitdiffstats
path: root/sound/i2c/other/pt2258.c
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/i2c/other/pt2258.c
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/i2c/other/pt2258.c')
-rw-r--r--sound/i2c/other/pt2258.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/i2c/other/pt2258.c b/sound/i2c/other/pt2258.c
index 50df1df2f2b9..e91cc3b44de5 100644
--- a/sound/i2c/other/pt2258.c
+++ b/sound/i2c/other/pt2258.c
@@ -185,7 +185,7 @@ static int pt2258_switch_put(struct snd_kcontrol *kcontrol,
185 return -EIO; 185 return -EIO;
186} 186}
187 187
188static DECLARE_TLV_DB_SCALE(pt2258_db_scale, -7900, 100, 0); 188static const DECLARE_TLV_DB_SCALE(pt2258_db_scale, -7900, 100, 0);
189 189
190int snd_pt2258_build_controls(struct snd_pt2258 *pt) 190int snd_pt2258_build_controls(struct snd_pt2258 *pt)
191{ 191{