]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: soc-dai.h: Constify DAI ops auto_selectable_formats
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 17 Jun 2024 12:57:34 +0000 (14:57 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jun 2024 17:29:01 +0000 (18:29 +0100)
commitd4a7d067e061c95c6387cf537258082074a4d299
treeaa28acf8bcb3f6b01a13e6bd5ab061214256f607
parent195815c2755d70df92f46e6d737cd677db7adeef
ASoC: soc-dai.h: Constify DAI ops auto_selectable_formats

The core ASoC code does not modify contents of the
'auto_selectable_formats' array passed in 'struct snd_soc_dai_ops', so
make it const for code safety.

Reviewed-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://msgid.link/r/20240617125735.582963-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dai.h