mtpav.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) mtpav.c (c36f486d7bc71d41ec6b9521574136a280c17803)
1/*
2 * MOTU Midi Timepiece ALSA Main routines
3 * Copyright by Michael T. Mayers (c) Jan 09, 2000
4 * mail: michael@tweakoz.com
5 * Thanks to John Galbraith
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 586 unchanged lines hidden (view full) ---

595 mcard->irq = irq;
596 return 0;
597}
598
599
600/*
601 */
602
1/*
2 * MOTU Midi Timepiece ALSA Main routines
3 * Copyright by Michael T. Mayers (c) Jan 09, 2000
4 * mail: michael@tweakoz.com
5 * Thanks to John Galbraith
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 586 unchanged lines hidden (view full) ---

595 mcard->irq = irq;
596 return 0;
597}
598
599
600/*
601 */
602
603static struct snd_rawmidi_ops snd_mtpav_output = {
603static const struct snd_rawmidi_ops snd_mtpav_output = {
604 .open = snd_mtpav_output_open,
605 .close = snd_mtpav_output_close,
606 .trigger = snd_mtpav_output_trigger,
607};
608
604 .open = snd_mtpav_output_open,
605 .close = snd_mtpav_output_close,
606 .trigger = snd_mtpav_output_trigger,
607};
608
609static struct snd_rawmidi_ops snd_mtpav_input = {
609static const struct snd_rawmidi_ops snd_mtpav_input = {
610 .open = snd_mtpav_input_open,
611 .close = snd_mtpav_input_close,
612 .trigger = snd_mtpav_input_trigger,
613};
614
615
616/*
617 * get RAWMIDI resources

--- 170 unchanged lines hidden ---
610 .open = snd_mtpav_input_open,
611 .close = snd_mtpav_input_close,
612 .trigger = snd_mtpav_input_trigger,
613};
614
615
616/*
617 * get RAWMIDI resources

--- 170 unchanged lines hidden ---