summaryrefslogtreecommitdiff
path: root/sound/pci/cs4281.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-02-20 10:52:50 +0300
committerTakashi Iwai <tiwai@suse.de>2017-02-20 10:52:50 +0300
commitfc0e23fad33198fc7d74227dba7bbc3a5d7755aa (patch)
tree669319e33fb63a456986b6ac41cf3b584f583caf /sound/pci/cs4281.c
parentaf677166cf63c179dc2485053166e02c4aea01eb (diff)
parent3bb9eca913025ed05c0510de831c67b7bef652c5 (diff)
downloadlinux-fc0e23fad33198fc7d74227dba7bbc3a5d7755aa.tar.xz
Merge branch 'for-next' into for-linus
Diffstat (limited to 'sound/pci/cs4281.c')
-rw-r--r--sound/pci/cs4281.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/cs4281.c b/sound/pci/cs4281.c
index 8f0f5f24e40e..fa7c51684dd2 100644
--- a/sound/pci/cs4281.c
+++ b/sound/pci/cs4281.c
@@ -1767,14 +1767,14 @@ static void snd_cs4281_midi_output_trigger(struct snd_rawmidi_substream *substre
spin_unlock_irqrestore(&chip->reg_lock, flags);
}
-static struct snd_rawmidi_ops snd_cs4281_midi_output =
+static const struct snd_rawmidi_ops snd_cs4281_midi_output =
{
.open = snd_cs4281_midi_output_open,
.close = snd_cs4281_midi_output_close,
.trigger = snd_cs4281_midi_output_trigger,
};
-static struct snd_rawmidi_ops snd_cs4281_midi_input =
+static const struct snd_rawmidi_ops snd_cs4281_midi_input =
{
.open = snd_cs4281_midi_input_open,
.close = snd_cs4281_midi_input_close,