diff options
author | Rob Herring <robh@kernel.org> | 2023-10-06 22:09:13 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-09 14:13:58 +0200 |
commit | ec5236c2e6ec1ce62237a2e9345dd2ffc4fc6d56 (patch) | |
tree | 1d1317fd888612ee27060fc8d76a63eb2ead7544 /sound/soc/qcom/lpass-cdc-dma.c | |
parent | ASoC: da7218: Use i2c_get_match_data() (diff) | |
download | linux-ec5236c2e6ec1ce62237a2e9345dd2ffc4fc6d56.tar.xz linux-ec5236c2e6ec1ce62237a2e9345dd2ffc4fc6d56.zip |
ASoC: qcom/lpass: Constify struct lpass_variant
'struct lpass_variant' is used for driver match data which is supposed to
be constant. It's not modified anywhere, so it's just a matter of adding
'const' everywhere.
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231006-dt-asoc-header-cleanups-v3-4-13a4f0f7fee6@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/lpass-cdc-dma.c')
-rw-r--r-- | sound/soc/qcom/lpass-cdc-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/qcom/lpass-cdc-dma.c b/sound/soc/qcom/lpass-cdc-dma.c index 8221e2cbe35c..6389c7b6051e 100644 --- a/sound/soc/qcom/lpass-cdc-dma.c +++ b/sound/soc/qcom/lpass-cdc-dma.c @@ -37,7 +37,7 @@ static void __lpass_get_dmactl_handle(struct snd_pcm_substream *substream, struc struct lpass_data *drvdata = snd_soc_dai_get_drvdata(dai); struct snd_pcm_runtime *rt = substream->runtime; struct lpass_pcm_data *pcm_data = rt->private_data; - struct lpass_variant *v = drvdata->variant; + const struct lpass_variant *v = drvdata->variant; unsigned int dai_id = cpu_dai->driver->id; switch (dai_id) { |