diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-01-24 17:39:52 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-25 12:38:40 +0000 |
commit | 57dc05c4e6faaab5d8e7fb631f285120d7ed4b07 (patch) | |
tree | 9f77f2ddff83ed8a1e0bc03afe4e224f3122ef75 /sound/soc/codecs/wsa881x.c | |
parent | ASoC: codecs: constify static sdw_slave_ops struct (diff) | |
download | wireguard-linux-57dc05c4e6faaab5d8e7fb631f285120d7ed4b07.tar.xz wireguard-linux-57dc05c4e6faaab5d8e7fb631f285120d7ed4b07.zip |
ASoC: codecs: constify static sdw_port_config struct
The struct sdw_port_config is not modified, so make it a const for code
safety.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230124163953.345949-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wsa881x.c')
-rw-r--r-- | sound/soc/codecs/wsa881x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wsa881x.c b/sound/soc/codecs/wsa881x.c index 35bd6f7727ed..d142ca9f2fb6 100644 --- a/sound/soc/codecs/wsa881x.c +++ b/sound/soc/codecs/wsa881x.c @@ -424,7 +424,7 @@ static struct sdw_dpn_prop wsa_sink_dpn_prop[WSA881X_MAX_SWR_PORTS] = { } }; -static struct sdw_port_config wsa881x_pconfig[WSA881X_MAX_SWR_PORTS] = { +static const struct sdw_port_config wsa881x_pconfig[WSA881X_MAX_SWR_PORTS] = { { .num = 1, .ch_mask = 0x1, |