diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-09-13 20:38:36 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-09-19 14:33:31 +0200 |
commit | 86cb5dee237be6cf6c432299b829a5e85ed35029 (patch) | |
tree | acb034d739b580dc8ef0a31bf24a3324fc3dbec1 /sound/soc/intel/atom/sst-mfld-platform.h | |
parent | ASoC: Intel: Headset button support in kabylake machine driver (diff) | |
download | linux-86cb5dee237be6cf6c432299b829a5e85ed35029.tar.xz linux-86cb5dee237be6cf6c432299b829a5e85ed35029.zip |
ASoC: Intel: atom: make sst_platform_compr_ops const
Make this const as it not modified in the file referencing it.
It only stored in the const field 'compr_ops' of a snd_soc_platform_driver
structure. Also, add const to the declaration in the header file.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | sound/soc/intel/atom/sst-mfld-platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/atom/sst-mfld-platform.h b/sound/soc/intel/atom/sst-mfld-platform.h index cb32cc7e5ec1..31a58c25472c 100644 --- a/sound/soc/intel/atom/sst-mfld-platform.h +++ b/sound/soc/intel/atom/sst-mfld-platform.h @@ -25,7 +25,7 @@ #include "sst-atom-controls.h" extern struct sst_device *sst; -extern struct snd_compr_ops sst_platform_compr_ops; +extern const struct snd_compr_ops sst_platform_compr_ops; #define SST_MONO 1 #define SST_STEREO 2 |