Skip to content
Snippets Groups Projects
Commit e5764ef8 authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Madhulika Dolke
Browse files

UPSTREAM: ASoC: intel: boards: bytcht*: Constify static snd_soc_ops


These are only assigned to the ops fields in the snd_soc_dai_link struct
which is a pointer to const struct snd_soc_ops. Make them const to allow
the compiler to put them in read-only memory.

Signed-off-by: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Acked-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211127091954.12075-1-rikard.falkeborn@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
(cherry picked from commit 10b155fd)

BUG=b:218766331
TEST=Test sound cards are listed and audio playback works.

Signed-off-by: default avatarTerry Cheong <htcheong@chromium.org>
Signed-off-by: default avatarMadhulika Dolke <madhulika.dolke@intel.com>
(cherry picked from commit 10b155fd)
Change-Id: Ie569dfd4cf401fa48c2298bf786d11cc2f9ef64e
parent 671246a0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment