diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-11 19:27:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-16 14:01:15 +0300 |
commit | 2788808a1bb4dd0b20c4cea2a98b9fda4c354682 (patch) | |
tree | 2a129ffa6ca7579baf3d24e2951bde00a78033ef /sound/soc/intel/skylake/skl-sst.c | |
parent | 2d5f8487818b9231dfb244adda5e890e004b4a76 (diff) | |
download | linux-2788808a1bb4dd0b20c4cea2a98b9fda4c354682.tar.xz |
ASoC: Intel: Skylake: make skl_dsp_fw_ops const
Make these const as they are only used during a copy operation.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-sst.c')
-rw-r--r-- | sound/soc/intel/skylake/skl-sst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/intel/skylake/skl-sst.c b/sound/soc/intel/skylake/skl-sst.c index 6cc586d3f03b..a7ad734f591d 100644 --- a/sound/soc/intel/skylake/skl-sst.c +++ b/sound/soc/intel/skylake/skl-sst.c @@ -503,7 +503,7 @@ static void skl_clear_module_table(struct sst_dsp *ctx) } } -static struct skl_dsp_fw_ops skl_fw_ops = { +static const struct skl_dsp_fw_ops skl_fw_ops = { .set_state_D0 = skl_set_dsp_D0, .set_state_D3 = skl_set_dsp_D3, .load_fw = skl_load_base_firmware, @@ -512,7 +512,7 @@ static struct skl_dsp_fw_ops skl_fw_ops = { .unload_mod = skl_unload_module, }; -static struct skl_dsp_fw_ops kbl_fw_ops = { +static const struct skl_dsp_fw_ops kbl_fw_ops = { .set_state_D0 = skl_set_dsp_D0, .set_state_D3 = skl_set_dsp_D3, .load_fw = skl_load_base_firmware, |