mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
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:
parent
97af961568
commit
87e49eb091
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user