diff options
| author | Mark Brown <broonie@kernel.org> | 2024-06-23 13:13:00 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2024-06-23 13:13:00 +0100 |
| commit | 86a37eb60ba1f17cae8ac006d0de1a6091e5ba31 (patch) | |
| tree | e00f09eac24fbfdfffa196c10f760fbc4ba68e7e /sound/soc/codecs/wcd934x.c | |
| parent | d6bb39fe4fa077883a409f6eaca569ce61a28a94 (diff) | |
| parent | de267e7a6ea8e6fa29af2287adfc9fc9d87e6dc9 (diff) | |
ASoC: Few constifications (mostly arguments)
Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>:
Make few pointers in ASoC functions as pointers to const, so the code is
clearer to read, a bit safer and allows further constifications (e.g.
placing some data as rodata).
Diffstat (limited to 'sound/soc/codecs/wcd934x.c')
| -rw-r--r-- | sound/soc/codecs/wcd934x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wcd934x.c b/sound/soc/codecs/wcd934x.c index d1bbc963856b..6c65b46e2dc9 100644 --- a/sound/soc/codecs/wcd934x.c +++ b/sound/soc/codecs/wcd934x.c @@ -1952,7 +1952,7 @@ static int wcd934x_set_channel_map(struct snd_soc_dai *dai, return 0; } -static int wcd934x_get_channel_map(struct snd_soc_dai *dai, +static int wcd934x_get_channel_map(const struct snd_soc_dai *dai, unsigned int *tx_num, unsigned int *tx_slot, unsigned int *rx_num, unsigned int *rx_slot) { |
