ASoC: cs43130: Fix the position of const qualifier
authorMaciej Strozek <mstrozek@opensource.cirrus.com>
Fri, 17 Nov 2023 14:13:38 +0000 (14:13 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 17 Nov 2023 16:39:42 +0000 (16:39 +0000)
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20231117141344.64320-2-mstrozek@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs43130.c

index 0b40fdf..20f0667 100644 (file)
@@ -1682,7 +1682,7 @@ static ssize_t hpload_dc_r_show(struct device *dev,
        return cs43130_show_dc(dev, buf, HP_RIGHT);
 }
 
-static u16 const cs43130_ac_freq[CS43130_AC_FREQ] = {
+static const u16 cs43130_ac_freq[CS43130_AC_FREQ] = {
        24,
        43,
        93,
@@ -2362,7 +2362,7 @@ static const struct regmap_config cs43130_regmap = {
        .use_single_write       = true,
 };
 
-static u16 const cs43130_dc_threshold[CS43130_DC_THRESHOLD] = {
+static const u16 cs43130_dc_threshold[CS43130_DC_THRESHOLD] = {
        50,
        120,
 };