diff options
author | Rob Herring <robh@kernel.org> | 2023-10-06 15:09:13 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-09 13:13:58 +0100 |
commit | ec5236c2e6ec1ce62237a2e9345dd2ffc4fc6d56 (patch) | |
tree | 1d1317fd888612ee27060fc8d76a63eb2ead7544 /sound/soc/qcom/lpass-ipq806x.c | |
parent | fe26425518862020449cb2c9709e62cc76a56de2 (diff) | |
download | linux-stable-ec5236c2e6ec1ce62237a2e9345dd2ffc4fc6d56.tar.gz linux-stable-ec5236c2e6ec1ce62237a2e9345dd2ffc4fc6d56.tar.bz2 linux-stable-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-ipq806x.c')
-rw-r--r-- | sound/soc/qcom/lpass-ipq806x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/qcom/lpass-ipq806x.c b/sound/soc/qcom/lpass-ipq806x.c index 2c97f295e394..bbe9f11d7780 100644 --- a/sound/soc/qcom/lpass-ipq806x.c +++ b/sound/soc/qcom/lpass-ipq806x.c @@ -108,7 +108,7 @@ static int ipq806x_lpass_free_dma_channel(struct lpass_data *drvdata, int chan, return 0; } -static struct lpass_variant ipq806x_data = { +static const struct lpass_variant ipq806x_data = { .i2sctrl_reg_base = 0x0010, .i2sctrl_reg_stride = 0x04, .i2s_ports = 5, |