diff options
| author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2026-03-09 17:53:10 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-03-09 22:48:25 +0300 |
| commit | 87e49eb0918154f64f736d5271e9e3fe566f82b1 (patch) | |
| tree | 1b8c88191b04923ee939e8310dc74939c3b7de8f | |
| parent | 97af961568c8682c44506c9ad4b26c8a5455ec1d (diff) | |
| download | linux-87e49eb0918154f64f736d5271e9e3fe566f82b1.tar.xz | |
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>
| -rw-r--r-- | sound/soc/codecs/wm_adsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index d95b54275b5e..f0aa6e3a1cfa 100644 --- a/sound/soc/codecs/wm_adsp.c +++ b/sound/soc/codecs/wm_adsp.c @@ -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", |
