]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: topology: Constify an argument of snd_soc_tplg_component_load()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 13 May 2024 17:37:20 +0000 (19:37 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 27 May 2024 00:31:15 +0000 (01:31 +0100)
commit734447685ecc7c6328e40cb1bd4aaeeac03c1413
treec220a59bffb2f0ca75a6be568e26ba244e25c2c2
parentd556f807bda0b260b392069b3c8ac9e6491f0025
ASoC: topology: Constify an argument of snd_soc_tplg_component_load()

snd_soc_tplg_component_load() does not modify its "*ops" argument. It
only read some values and stores it in "soc_tplg.ops".

This argument and the ops field in "struct soc_tplg" can be made const.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://msgid.link/r/f2f983e791d7f941a95556bb147f426a345d84d4.1715526069.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-topology.h
sound/soc/soc-topology.c