| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Driver for Gallant SC-6000 soundcard. This card is also known as |
|---|
| 3 | 4 | * Audio Excel DSP 16 or Zoltrix AV302. |
|---|
| .. | .. |
|---|
| 9 | 10 | * |
|---|
| 10 | 11 | * I don't have documentation for this card. I used the driver |
|---|
| 11 | 12 | * 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 |
|---|
| 26 | 13 | */ |
|---|
| 27 | 14 | |
|---|
| 28 | 15 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 547 | 534 | |
|---|
| 548 | 535 | static int snd_sc6000_probe(struct device *devptr, unsigned int dev) |
|---|
| 549 | 536 | { |
|---|
| 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 }; |
|---|
| 552 | 539 | int err; |
|---|
| 553 | 540 | int xirq = irq[dev]; |
|---|
| 554 | 541 | int xdma = dma[dev]; |
|---|