aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/ak4xxx-adda.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-01-29 15:27:56 +0100
committerJaroslav Kysela <perex@suse.cz>2007-02-09 09:03:17 +0100
commit517400cbc75d0604bc34c1866dff7e55ca1be2b4 (patch)
tree43719d9a94cb0abb327bde3da78802b0ad8d8657 /include/sound/ak4xxx-adda.h
parent[ALSA] Add 'const' to files in pci/ice1712/ (diff)
downloadlinux-dev-517400cbc75d0604bc34c1866dff7e55ca1be2b4.tar.xz
linux-dev-517400cbc75d0604bc34c1866dff7e55ca1be2b4.zip
[ALSA] Add some more 'const', but needs changes in i2c/other/ak4*
Make data passed to ak4xxx_create '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 'include/sound/ak4xxx-adda.h')
-rw-r--r--include/sound/ak4xxx-adda.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/ak4xxx-adda.h b/include/sound/ak4xxx-adda.h
index d01d53528015..aa49dda4f410 100644
--- a/include/sound/ak4xxx-adda.h
+++ b/include/sound/ak4xxx-adda.h
@@ -71,8 +71,8 @@ struct snd_akm4xxx {
} type;
/* (array) information of combined codecs */
- struct snd_akm4xxx_dac_channel *dac_info;
- struct snd_akm4xxx_adc_channel *adc_info;
+ const struct snd_akm4xxx_dac_channel *dac_info;
+ const struct snd_akm4xxx_adc_channel *adc_info;
struct snd_ak4xxx_ops ops;
};