.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) by Uros Bizjak <uros@kss-loka.si> |
---|
3 | 4 | * |
---|
.. | .. |
---|
5 | 6 | * |
---|
6 | 7 | * OPL2/3 FM instrument loader: |
---|
7 | 8 | * alsa-tools/seq/sbiload/ |
---|
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 | | - * |
---|
23 | 9 | */ |
---|
24 | 10 | |
---|
25 | 11 | #include "opl3_voice.h" |
---|
.. | .. |
---|
142 | 128 | /* |
---|
143 | 129 | * MIDI emulation operators |
---|
144 | 130 | */ |
---|
145 | | -struct snd_midi_op opl3_ops = { |
---|
| 131 | +const struct snd_midi_op opl3_ops = { |
---|
146 | 132 | .note_on = snd_opl3_note_on, |
---|
147 | 133 | .note_off = snd_opl3_note_off, |
---|
148 | 134 | .key_press = snd_opl3_key_press, |
---|