|
@@ -227,14 +227,14 @@ static void snd_gf1_uart_output_trigger(struct snd_rawmidi_substream *substream,
|
|
|
spin_unlock_irqrestore(&gus->uart_cmd_lock, flags);
|
|
|
}
|
|
|
|
|
|
-static struct snd_rawmidi_ops snd_gf1_uart_output =
|
|
|
+static const struct snd_rawmidi_ops snd_gf1_uart_output =
|
|
|
{
|
|
|
.open = snd_gf1_uart_output_open,
|
|
|
.close = snd_gf1_uart_output_close,
|
|
|
.trigger = snd_gf1_uart_output_trigger,
|
|
|
};
|
|
|
|
|
|
-static struct snd_rawmidi_ops snd_gf1_uart_input =
|
|
|
+static const struct snd_rawmidi_ops snd_gf1_uart_input =
|
|
|
{
|
|
|
.open = snd_gf1_uart_input_open,
|
|
|
.close = snd_gf1_uart_input_close,
|