diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-11-11 00:18:52 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-16 17:38:54 +0000 |
commit | 93189ea425498339b13e5f74d254070d4a2b7d37 (patch) | |
tree | 11636ccb20ce6c4da0065a049bcd52aee0d9d352 /sound/soc/intel/haswell | |
parent | aecf6fd878eba5182665cccb943205be4c9a0337 (diff) | |
download | linux-stable-93189ea425498339b13e5f74d254070d4a2b7d37.tar.gz linux-stable-93189ea425498339b13e5f74d254070d4a2b7d37.tar.bz2 linux-stable-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.c | 2 |
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, }; |