hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/sound/isa/sc6000.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Driver for Gallant SC-6000 soundcard. This card is also known as
34 * Audio Excel DSP 16 or Zoltrix AV302.
....@@ -9,20 +10,6 @@
910 *
1011 * I don't have documentation for this card. I used the driver
1112 * for OSS/Free included in the kernel source as reference.
12
- *
13
- * This program is free software; you can redistribute it and/or modify
14
- * it under the terms of the GNU General Public License as published by
15
- * the Free Software Foundation; either version 2 of the License, or
16
- * (at your option) any later version.
17
- *
18
- * This program is distributed in the hope that it will be useful,
19
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
- * GNU General Public License for more details.
22
- *
23
- * You should have received a copy of the GNU General Public License
24
- * along with this program; if not, write to the Free Software
25
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2613 */
2714
2815 #include <linux/module.h>
....@@ -547,8 +534,8 @@
547534
548535 static int snd_sc6000_probe(struct device *devptr, unsigned int dev)
549536 {
550
- static int possible_irqs[] = { 5, 7, 9, 10, 11, -1 };
551
- static int possible_dmas[] = { 1, 3, 0, -1 };
537
+ static const int possible_irqs[] = { 5, 7, 9, 10, 11, -1 };
538
+ static const int possible_dmas[] = { 1, 3, 0, -1 };
552539 int err;
553540 int xirq = irq[dev];
554541 int xdma = dma[dev];