Commit 3a9686c4 authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown

ASoC: wm_adsp: Add missing const from region definitions

Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 7eec55d7
...@@ -325,7 +325,7 @@ struct wm_adsp_buffer_region_def { ...@@ -325,7 +325,7 @@ struct wm_adsp_buffer_region_def {
unsigned int size_offset; unsigned int size_offset;
}; };
static struct wm_adsp_buffer_region_def default_regions[] = { static const struct wm_adsp_buffer_region_def default_regions[] = {
{ {
.mem_type = WMFW_ADSP2_XM, .mem_type = WMFW_ADSP2_XM,
.base_offset = HOST_BUFFER_FIELD(X_buf_base), .base_offset = HOST_BUFFER_FIELD(X_buf_base),
...@@ -347,7 +347,7 @@ struct wm_adsp_fw_caps { ...@@ -347,7 +347,7 @@ struct wm_adsp_fw_caps {
u32 id; u32 id;
struct snd_codec_desc desc; struct snd_codec_desc desc;
int num_regions; int num_regions;
struct wm_adsp_buffer_region_def *region_defs; const struct wm_adsp_buffer_region_def *region_defs;
}; };
static const struct wm_adsp_fw_caps ctrl_caps[] = { static const struct wm_adsp_fw_caps ctrl_caps[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment