summaryrefslogtreecommitdiff
path: root/include/sound/ac97_codec.h
diff options
context:
space:
mode:
authorHanno Boeck <hanno@hboeck.de>2011-01-14 21:14:47 +0300
committerTakashi Iwai <tiwai@suse.de>2011-01-14 21:14:47 +0300
commit3e8b3b90fecedcf20d895c4e6ad01a379fe252bf (patch)
tree44c94a9fc098303fbd47e0d10b40ec258e9f816f /include/sound/ac97_codec.h
parentf8fe80e4383bf5f542beb80bf2abe9fc1505c366 (diff)
downloadlinux-3e8b3b90fecedcf20d895c4e6ad01a379fe252bf.tar.xz
ALSA: constify functions in ac97
Signed-off-by: Hanno Boeck <hanno@hboeck.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/ac97_codec.h')
-rw-r--r--include/sound/ac97_codec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h
index 49400459b477..b602f475cdbb 100644
--- a/include/sound/ac97_codec.h
+++ b/include/sound/ac97_codec.h
@@ -477,7 +477,7 @@ struct snd_ac97_template {
struct snd_ac97 {
/* -- lowlevel (hardware) driver specific -- */
- struct snd_ac97_build_ops * build_ops;
+ const struct snd_ac97_build_ops *build_ops;
void *private_data;
void (*private_free) (struct snd_ac97 *ac97);
/* --- */