]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - sound/drivers/serial-u16550.c
ALSA: drivers: Constify snd_device_ops definitions
[linux.git] / sound / drivers / serial-u16550.c
index 4775f1b7b444ed697b3360fd1655372810829351..893c2b57331f05b79120de5b69fad81a5eaaa635 100644 (file)
@@ -777,7 +777,7 @@ static int snd_uart16550_create(struct snd_card *card,
                                int droponfull,
                                struct snd_uart16550 **ruart)
 {
-       static struct snd_device_ops ops = {
+       static const struct snd_device_ops ops = {
                .dev_free =     snd_uart16550_dev_free,
        };
        struct snd_uart16550 *uart;