diff options
author | Ye Bin | 2021-04-08 14:27:00 +0800 |
---|---|---|
committer | Mark Brown | 2021-04-08 15:21:49 +0100 |
commit | f985838003ee618daba7a38da3efe27c639575e2 (patch) | |
tree | 02e7c5c2855d2e814d7232271eea9e7d4f382709 /lib/dim | |
parent | 8361c6da77b7d267707da9ff3b94458e018dd3da (diff) |
ASoC: codecs: wsa881x: 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 <hulkci@huawei.com>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Link: https://lore.kernel.org/r/20210408062700.803792-1-yebin10@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/dim')
0 files changed, 0 insertions, 0 deletions