hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/sound/seq_midi_emul.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef __SOUND_SEQ_MIDI_EMUL_H
23 #define __SOUND_SEQ_MIDI_EMUL_H
34
....@@ -5,21 +6,6 @@
56 * Midi channel definition for optional channel management.
67 *
78 * Copyright (C) 1999 Steve Ratcliffe
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
- *
239 */
2410
2511 #include <sound/seq_kernel.h>
....@@ -188,7 +174,8 @@
188174 };
189175
190176 /* Prototypes for midi_process.c */
191
-void snd_midi_process_event(struct snd_midi_op *ops, struct snd_seq_event *ev,
177
+void snd_midi_process_event(const struct snd_midi_op *ops,
178
+ struct snd_seq_event *ev,
192179 struct snd_midi_channel_set *chanset);
193180 void snd_midi_channel_set_clear(struct snd_midi_channel_set *chset);
194181 struct snd_midi_channel_set *snd_midi_channel_alloc_set(int n);