diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-01-29 15:27:56 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 09:03:17 +0100 |
commit | 517400cbc75d0604bc34c1866dff7e55ca1be2b4 (patch) | |
tree | 43719d9a94cb0abb327bde3da78802b0ad8d8657 /include/sound/ak4117.h | |
parent | 32b47da03541f97e40f1af5488ef88250459f388 (diff) | |
download | kernel_samsung_crespo-517400cbc75d0604bc34c1866dff7e55ca1be2b4.zip kernel_samsung_crespo-517400cbc75d0604bc34c1866dff7e55ca1be2b4.tar.gz kernel_samsung_crespo-517400cbc75d0604bc34c1866dff7e55ca1be2b4.tar.bz2 |
[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/ak4117.h')
-rw-r--r-- | include/sound/ak4117.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/ak4117.h b/include/sound/ak4117.h index 2b96c32..d650d52 100644 --- a/include/sound/ak4117.h +++ b/include/sound/ak4117.h @@ -178,7 +178,7 @@ struct ak4117 { }; int snd_ak4117_create(struct snd_card *card, ak4117_read_t *read, ak4117_write_t *write, - unsigned char pgm[5], void *private_data, struct ak4117 **r_ak4117); + const unsigned char pgm[5], void *private_data, struct ak4117 **r_ak4117); void snd_ak4117_reg_write(struct ak4117 *ak4117, unsigned char reg, unsigned char mask, unsigned char val); void snd_ak4117_reinit(struct ak4117 *ak4117); int snd_ak4117_build(struct ak4117 *ak4117, struct snd_pcm_substream *capture_substream); |