]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - sound/drivers/serial-u16550.c
ALSA: drivers: Constify snd_rawmidi_ops
[mirror_ubuntu-jammy-kernel.git] / sound / drivers / serial-u16550.c
index 1927b89e1d1f6b2e302da1e4fc7337850906f689..60d51ac4ccfebded6c55e47812fdd16c67ae4359 100644 (file)
@@ -752,14 +752,14 @@ static void snd_uart16550_output_trigger(struct snd_rawmidi_substream *substream
                snd_uart16550_output_write(substream);
 }
 
-static struct snd_rawmidi_ops snd_uart16550_output =
+static const struct snd_rawmidi_ops snd_uart16550_output =
 {
        .open =         snd_uart16550_output_open,
        .close =        snd_uart16550_output_close,
        .trigger =      snd_uart16550_output_trigger,
 };
 
-static struct snd_rawmidi_ops snd_uart16550_input =
+static const struct snd_rawmidi_ops snd_uart16550_input =
 {
        .open =         snd_uart16550_input_open,
        .close =        snd_uart16550_input_close,