aboutsummaryrefslogtreecommitdiffstats
path: root/sound/i2c/other/ak4117.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-01-29 09:27:56 -0500
committerJaroslav Kysela <perex@suse.cz>2007-02-09 03:03:17 -0500
commit517400cbc75d0604bc34c1866dff7e55ca1be2b4 (patch)
tree43719d9a94cb0abb327bde3da78802b0ad8d8657 /sound/i2c/other/ak4117.c
parent32b47da03541f97e40f1af5488ef88250459f388 (diff)
[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 'sound/i2c/other/ak4117.c')
-rw-r--r--sound/i2c/other/ak4117.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/i2c/other/ak4117.c b/sound/i2c/other/ak4117.c
index 4e45952dd95a..c022f29da2f7 100644
--- a/sound/i2c/other/ak4117.c
+++ b/sound/i2c/other/ak4117.c
@@ -74,7 +74,7 @@ static int snd_ak4117_dev_free(struct snd_device *device)
74} 74}
75 75
76int snd_ak4117_create(struct snd_card *card, ak4117_read_t *read, ak4117_write_t *write, 76int snd_ak4117_create(struct snd_card *card, ak4117_read_t *read, ak4117_write_t *write,
77 unsigned char pgm[5], void *private_data, struct ak4117 **r_ak4117) 77 const unsigned char pgm[5], void *private_data, struct ak4117 **r_ak4117)
78{ 78{
79 struct ak4117 *chip; 79 struct ak4117 *chip;
80 int err = 0; 80 int err = 0;