aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/ac97_codec.h
diff options
context:
space:
mode:
authorHanno Boeck <hanno@hboeck.de>2011-01-14 19:14:47 +0100
committerTakashi Iwai <tiwai@suse.de>2011-01-14 19:14:47 +0100
commit3e8b3b90fecedcf20d895c4e6ad01a379fe252bf (patch)
tree44c94a9fc098303fbd47e0d10b40ec258e9f816f /include/sound/ac97_codec.h
parentALSA: oxygen: Xonar DG: fix CS4245 register writes (diff)
downloadlinux-dev-3e8b3b90fecedcf20d895c4e6ad01a379fe252bf.tar.xz
linux-dev-3e8b3b90fecedcf20d895c4e6ad01a379fe252bf.zip
ALSA: constify functions in ac97
Signed-off-by: Hanno Boeck <hanno@hboeck.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-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);
/* --- */