Skip to content

Commit fd4b6c0

Browse files
rfvirgilbroonie
authored andcommitted
ASoC: wm_adsp: Make cirrus_dir const
The cirrus_dir pointer should be const data but was missing the second const needed to achieve this. I haven't marked this as a 'Fixes' because it isn't causing any bugs, it's only a code improvement. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20250522103816.543919-1-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 3966392 commit fd4b6c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/wm_adsp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ static int wm_adsp_request_firmware_file(struct wm_adsp *dsp,
775775
return ret;
776776
}
777777

778-
static const char *cirrus_dir = "cirrus/";
778+
static const char * const cirrus_dir = "cirrus/";
779779
static int wm_adsp_request_firmware_files(struct wm_adsp *dsp,
780780
const struct firmware **wmfw_firmware,
781781
char **wmfw_filename,

0 commit comments

Comments
 (0)