aboutsummaryrefslogtreecommitdiff
path: root/sound/isa/sb
diff options
context:
space:
mode:
authorJulia Lawall2017-08-14 19:13:26 +0200
committerTakashi Iwai2017-08-15 08:21:51 +0200
commitc9480d055e306a855f8a8d2b3b097773cd0d5ad0 (patch)
tree5cbeb04a02b80e45dc6c8896049ed26769a3e6ad /sound/isa/sb
parent2675be5a004ee0d8155d2ad48cad95920f727921 (diff)
sound: emu8000: constify emu8000_ops
The structure emu8000_ops is only copied into another structure, so it can be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/sb')
-rw-r--r--sound/isa/sb/emu8000_callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/sb/emu8000_callback.c b/sound/isa/sb/emu8000_callback.c
index d28d712f99f4..5a485504f607 100644
--- a/sound/isa/sb/emu8000_callback.c
+++ b/sound/isa/sb/emu8000_callback.c
@@ -62,7 +62,7 @@ static void snd_emu8000_tweak_voice(struct snd_emu8000 *emu, int ch);
/*
* set up operators
*/
-static struct snd_emux_operators emu8000_ops = {
+static const struct snd_emux_operators emu8000_ops = {
.owner = THIS_MODULE,
.get_voice = get_voice,
.prepare = start_voice,