diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-06-17 16:03:20 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-06-18 16:19:53 +0300 |
commit | 020b37d06f97de289940805bc821190d5858eda0 (patch) | |
tree | 9f170334bd43ff2fe78ee59f9bd96d7c680524c9 /include/linux/habanalabs | |
parent | 2fbafecb0f05818e25f6c926c6f9ad9ef597429c (diff) | |
download | linux-020b37d06f97de289940805bc821190d5858eda0.tar.xz |
ASoC: Constify of_phandle_args in snd_soc_dai_link_component
ASoC core code does not modify contents of 'of_phandle_args' in 'struct
snd_soc_dai_link_component', so the pointer can be made as a pointer to
const. This makes code safer, serves as clear annotation of core's
intentions and allows putting pointed structures in rodata (if ever
applicable).
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://msgid.link/r/20240617-n-asoc-const-auto-selectable-formats-v1-2-8004f346ee38@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/habanalabs')
0 files changed, 0 insertions, 0 deletions