diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-11-11 02:18:52 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-16 20:38:54 +0300 |
commit | 93189ea425498339b13e5f74d254070d4a2b7d37 (patch) | |
tree | 11636ccb20ce6c4da0065a049bcd52aee0d9d352 /sound/soc/intel/common/sst-firmware.c | |
parent | aecf6fd878eba5182665cccb943205be4c9a0337 (diff) | |
download | linux-93189ea425498339b13e5f74d254070d4a2b7d37.tar.xz |
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/common/sst-firmware.c')
-rw-r--r-- | sound/soc/intel/common/sst-firmware.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/intel/common/sst-firmware.c b/sound/soc/intel/common/sst-firmware.c index 1636a1eeb002..bee04a9707d8 100644 --- a/sound/soc/intel/common/sst-firmware.c +++ b/sound/soc/intel/common/sst-firmware.c @@ -1014,8 +1014,8 @@ EXPORT_SYMBOL_GPL(sst_module_runtime_restore); /* register a DSP memory block for use with FW based modules */ struct sst_mem_block *sst_mem_block_register(struct sst_dsp *dsp, u32 offset, - u32 size, enum sst_mem_type type, struct sst_block_ops *ops, u32 index, - void *private) + u32 size, enum sst_mem_type type, const struct sst_block_ops *ops, + u32 index, void *private) { struct sst_mem_block *block; |