summaryrefslogtreecommitdiffstats
path: root/include/sound
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
parentf8fe80e4383bf5f542beb80bf2abe9fc1505c366 (diff)
downloadop-kernel-dev-3e8b3b90fecedcf20d895c4e6ad01a379fe252bf.zip
op-kernel-dev-3e8b3b90fecedcf20d895c4e6ad01a379fe252bf.tar.gz
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')
-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 4940045..b602f47 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);
/* --- */
OpenPOWER on IntegriCloud