[PATCH 2/2] ASoC: codecs: es9356: Constify regmap_sdw_mbq_cfg

From: Krzysztof Kozlowski

Date: Sun Jul 05 2026 - 13:23:46 EST


Static 'struct regmap_sdw_mbq_cfg' is not modified so can be changed to
const for more safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
---
sound/soc/codecs/es9356.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/es9356.c b/sound/soc/codecs/es9356.c
index 1122455aab77..f574b3d6cb3c 100644
--- a/sound/soc/codecs/es9356.c
+++ b/sound/soc/codecs/es9356.c
@@ -671,7 +671,7 @@ static int es9356_sdca_mbq_size(struct device *dev, unsigned int reg)
}
}

-static struct regmap_sdw_mbq_cfg es9356_mbq_config = {
+static const struct regmap_sdw_mbq_cfg es9356_mbq_config = {
.mbq_size = es9356_sdca_mbq_size,
};

--
2.53.0