| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /** |
|---|
| 2 | 3 | * 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. |
|---|
| 7 | 4 | * |
|---|
| 8 | 5 | * @File ctresource.c |
|---|
| 9 | 6 | * |
|---|
| .. | .. |
|---|
| 12 | 9 | * |
|---|
| 13 | 10 | * @Author Liu Chun |
|---|
| 14 | 11 | * @Date May 15 2008 |
|---|
| 15 | | - * |
|---|
| 16 | 12 | */ |
|---|
| 17 | 13 | |
|---|
| 18 | 14 | #include "ctresource.h" |
|---|
| .. | .. |
|---|
| 96 | 92 | return 0; |
|---|
| 97 | 93 | } |
|---|
| 98 | 94 | |
|---|
| 99 | | -static unsigned char offset_in_audio_slot_block[NUM_RSCTYP] = { |
|---|
| 95 | +static const unsigned char offset_in_audio_slot_block[NUM_RSCTYP] = { |
|---|
| 100 | 96 | /* SRC channel is at Audio Ring slot 1 every 16 slots. */ |
|---|
| 101 | 97 | [SRC] = 0x1, |
|---|
| 102 | 98 | [AMIXER] = 0x4, |
|---|