summaryrefslogtreecommitdiff
path: root/sound/pci/ac97/ac97_codec.c
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 /sound/pci/ac97/ac97_codec.c
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 'sound/pci/ac97/ac97_codec.c')
-rw-r--r--sound/pci/ac97/ac97_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c
index 0fc614ce16c1..cb62d178b3e0 100644
--- a/sound/pci/ac97/ac97_codec.c
+++ b/sound/pci/ac97/ac97_codec.c
@@ -1961,7 +1961,7 @@ static int snd_ac97_dev_disconnect(struct snd_device *device)
}
/* build_ops to do nothing */
-static struct snd_ac97_build_ops null_build_ops;
+static const struct snd_ac97_build_ops null_build_ops;
#ifdef CONFIG_SND_AC97_POWER_SAVE
static void do_update_power(struct work_struct *work)