ASoC: wm_adsp: Make wm_adsp_fw_text[] const

Add the extra const to wm_adsp_fw_text[] to make the array data
const.

This array should have been const data but was missing the second
const that is needed when declaring a const array of const pointers.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20260309145310.1199583-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Richard Fitzgerald 2026-03-09 14:53:10 +00:00 committed by Mark Brown
parent 97af961568
commit 87e49eb091
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -72,7 +72,7 @@ static const struct cs_dsp_client_ops wm_adsp2_client_ops;
#define WM_ADSP_NUM_FW 13
static const char *wm_adsp_fw_text[WM_ADSP_NUM_FW] = {
static const char * const wm_adsp_fw_text[WM_ADSP_NUM_FW] = {
[WM_ADSP_FW_MBC_VSS] = "MBC/VSS",
[WM_ADSP_FW_HIFI] = "MasterHiFi",
[WM_ADSP_FW_TX] = "Tx",