diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> | 2025-12-19 14:45:44 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-12-22 12:01:50 +0300 |
| commit | c4be067a7b67f616b9ec85423a20be6be9b8ec37 (patch) | |
| tree | 11e1e4b2bea462297bf16cd0df2a62aa33ef8e21 /include/linux/stringify.h | |
| parent | dc8d1ba537c0bb4da91695b473dbe9a404f7ed7e (diff) | |
| download | linux-c4be067a7b67f616b9ec85423a20be6be9b8ec37.tar.xz | |
ASoC: qcom: topology: Constify pointed topology and vendor structs
Several functions in topology.c receive pointers to 'struct
snd_soc_tplg_vendor_array' and 'struct snd_soc_tplg_private', and do not
modify their contents. Constify the pointers for self-explanatory code
(pointed memory is not modified by the function) and a bit safer code.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20251219-b4-container-of-const-asoc-qcom-v2-1-05fd2ecc06fe@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
