aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/haswell
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-11-11 00:18:52 +0100
committerMark Brown <broonie@kernel.org>2015-11-16 17:38:54 +0000
commit93189ea425498339b13e5f74d254070d4a2b7d37 (patch)
tree11636ccb20ce6c4da0065a049bcd52aee0d9d352 /sound/soc/intel/haswell
parentASoC: Intel: Skylake: Use the fw name from ACPI mach table (diff)
downloadlinux-dev-93189ea425498339b13e5f74d254070d4a2b7d37.tar.xz
linux-dev-93189ea425498339b13e5f74d254070d4a2b7d37.zip
ASoC: Intel: constify sst_block_ops structures
The sst_block_ops structure is never modified, and is thus declared as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Acked-by: Jie Yang <yang.jie@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/haswell')
-rw-r--r--sound/soc/intel/haswell/sst-haswell-dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/haswell/sst-haswell-dsp.c b/sound/soc/intel/haswell/sst-haswell-dsp.c
index 7f94920c8a4d..b2bec36d074c 100644
--- a/sound/soc/intel/haswell/sst-haswell-dsp.c
+++ b/sound/soc/intel/haswell/sst-haswell-dsp.c
@@ -607,7 +607,7 @@ static int hsw_block_disable(struct sst_mem_block *block)
return 0;
}
-static struct sst_block_ops sst_hsw_ops = {
+static const struct sst_block_ops sst_hsw_ops = {
.enable = hsw_block_enable,
.disable = hsw_block_disable,
};