summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2016-02-01 15:22:34 +0000
committerMark Brown <broonie@kernel.org>2016-02-02 19:19:44 +0000
commit3a9686c4ba7eec9201c6e8793705d32f24748771 (patch)
tree8a7c0a2c8288cdd261ee515a5b8b9eb826901b8c
parent7eec55d7a2f2932b3b4a799bc5d0d6718e1ee9e2 (diff)
downloadblackbird-op-linux-3a9686c4ba7eec9201c6e8793705d32f24748771.tar.gz
blackbird-op-linux-3a9686c4ba7eec9201c6e8793705d32f24748771.zip
ASoC: wm_adsp: Add missing const from region definitions
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/wm_adsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index 653dbff81fee..28d3851c5063 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -325,7 +325,7 @@ struct wm_adsp_buffer_region_def {
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,
.base_offset = HOST_BUFFER_FIELD(X_buf_base),
@@ -347,7 +347,7 @@ struct wm_adsp_fw_caps {
u32 id;
struct snd_codec_desc desc;
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[] = {
OpenPOWER on IntegriCloud