diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-07-13 01:05:08 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-07-17 16:17:45 +0100 |
commit | cb7534437956650ab0dcebf7a7b4795eb904d22a (patch) | |
tree | 379ab0a33ccceece008da756a94f630bc052a674 | |
parent | ac1ca3ba9faae7e32f189edda14f6f147053d719 (diff) | |
download | linux-stable-cb7534437956650ab0dcebf7a7b4795eb904d22a.tar.gz linux-stable-cb7534437956650ab0dcebf7a7b4795eb904d22a.tar.bz2 linux-stable-cb7534437956650ab0dcebf7a7b4795eb904d22a.zip |
ASoC: mmp-sspa: constify snd_soc_dai_ops structure
This structure is only stored in the ops field of a snd_soc_dai_driver
structure. That field is declared const, so snd_soc_dai_ops structures
that have this property can be declared as const also.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/pxa/mmp-sspa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/pxa/mmp-sspa.c b/sound/soc/pxa/mmp-sspa.c index 9cc35012e6e5..64b85e30c1f8 100644 --- a/sound/soc/pxa/mmp-sspa.c +++ b/sound/soc/pxa/mmp-sspa.c @@ -380,7 +380,7 @@ static int mmp_sspa_probe(struct snd_soc_dai *dai) SNDRV_PCM_FMTBIT_S24_LE | \ SNDRV_PCM_FMTBIT_S32_LE) -static struct snd_soc_dai_ops mmp_sspa_dai_ops = { +static const struct snd_soc_dai_ops mmp_sspa_dai_ops = { .startup = mmp_sspa_startup, .shutdown = mmp_sspa_shutdown, .trigger = mmp_sspa_trigger, |