diff options
| author | Ye Bin <[email protected]> | 2021-04-08 06:26:58 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-04-09 12:39:53 +0000 |
| commit | 4150cc7306fa84577dd0c33f158949b0f085aea0 (patch) | |
| tree | 3b33a7004c0789ca25e73bd09aa8db4bbad08db4 /sound/soc/codecs/lpass-tx-macro.c | |
| parent | ASoC: codecs: lpass-wsa-macro: constify static struct snd_soc_dai_ops (diff) | |
| download | kernel-4150cc7306fa84577dd0c33f158949b0f085aea0.tar.gz kernel-4150cc7306fa84577dd0c33f158949b0f085aea0.zip | |
ASoC: amd: renoir: acp3x-pdm-dma: constify static struct snd_soc_dai_ops
The snd_soc_dai_ops structures is only stored in the ops field of a
snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure
const to allow the compiler to put it in read-only memory.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Ye Bin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'sound/soc/codecs/lpass-tx-macro.c')
0 files changed, 0 insertions, 0 deletions
