diff options
author | Bhumika Goyal | 2017-03-22 13:51:35 +0100 |
---|---|---|
committer | Mark Brown | 2017-03-24 19:48:10 +0100 |
commit | 381ca1d12e188f90ed9f36cebb4a62d46fb11274 (patch) | |
tree | d0f29a5eb28f2d2bef61a6e53eec7f993116b442 /sound/soc/blackfin/bfin-eval-adav80x.c | |
parent | Merge remote-tracking branches 'asoc/topic/wm9712', 'asoc/topic/wm9713' and '... (diff) | |
download | kernel-qcow2-linux-381ca1d12e188f90ed9f36cebb4a62d46fb11274.tar.gz kernel-qcow2-linux-381ca1d12e188f90ed9f36cebb4a62d46fb11274.tar.xz kernel-qcow2-linux-381ca1d12e188f90ed9f36cebb4a62d46fb11274.zip |
ASoC: blackfin: constify snd_soc_ops structures
Declare snd_soc_ops structures as const as they are only stored
in the ops field of a snd_soc_dai_link structure. This field is
of type const, so snd_soc_ops structures having this property
can be made const too.
Cross compiled the .o files for blackfin architecture.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/blackfin/bfin-eval-adav80x.c')
-rw-r--r-- | sound/soc/blackfin/bfin-eval-adav80x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/blackfin/bfin-eval-adav80x.c b/sound/soc/blackfin/bfin-eval-adav80x.c index 1037477d10b2..99e5ecabdcda 100644 --- a/sound/soc/blackfin/bfin-eval-adav80x.c +++ b/sound/soc/blackfin/bfin-eval-adav80x.c @@ -64,7 +64,7 @@ static int bfin_eval_adav80x_codec_init(struct snd_soc_pcm_runtime *rtd) return 0; } -static struct snd_soc_ops bfin_eval_adav80x_ops = { +static const struct snd_soc_ops bfin_eval_adav80x_ops = { .hw_params = bfin_eval_adav80x_hw_params, }; |