hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/sound/pci/ctxfi/ctresource.c
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /**
23 * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved.
3
- *
4
- * This source file is released under GPL v2 license (no other versions).
5
- * See the COPYING file included in the main directory of this source
6
- * distribution for the license terms and conditions.
74 *
85 * @File ctresource.c
96 *
....@@ -12,7 +9,6 @@
129 *
1310 * @Author Liu Chun
1411 * @Date May 15 2008
15
- *
1612 */
1713
1814 #include "ctresource.h"
....@@ -96,7 +92,7 @@
9692 return 0;
9793 }
9894
99
-static unsigned char offset_in_audio_slot_block[NUM_RSCTYP] = {
95
+static const unsigned char offset_in_audio_slot_block[NUM_RSCTYP] = {
10096 /* SRC channel is at Audio Ring slot 1 every 16 slots. */
10197 [SRC] = 0x1,
10298 [AMIXER] = 0x4,