summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2024-08-22 16:55:35 +0200
committerMark Brown <broonie@kernel.org>2024-08-22 17:32:12 +0200
commit90dc34da02aca2fe529ae1ed1822e8fc2a0d9ebc (patch)
treeea5f256e6a53f2653fef36a03f131578771fc5cd /include/sound
parentASoC: tas2781: mark const variables tas2563_dvc_table as __maybe_unused (diff)
downloadlinux-90dc34da02aca2fe529ae1ed1822e8fc2a0d9ebc.tar.xz
linux-90dc34da02aca2fe529ae1ed1822e8fc2a0d9ebc.zip
ASoC: cs35l56: Make struct regmap_config const
It's now possible to declare instances of struct regmap_config as const data. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20240822145535.336407-1-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/cs35l56.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sound/cs35l56.h b/include/sound/cs35l56.h
index a51acefa785f..94e8185c4795 100644
--- a/include/sound/cs35l56.h
+++ b/include/sound/cs35l56.h
@@ -282,9 +282,9 @@ static inline bool cs35l56_is_otp_register(unsigned int reg)
return (reg >> 16) == 3;
}
-extern struct regmap_config cs35l56_regmap_i2c;
-extern struct regmap_config cs35l56_regmap_spi;
-extern struct regmap_config cs35l56_regmap_sdw;
+extern const struct regmap_config cs35l56_regmap_i2c;
+extern const struct regmap_config cs35l56_regmap_spi;
+extern const struct regmap_config cs35l56_regmap_sdw;
extern const struct cirrus_amp_cal_controls cs35l56_calibration_controls;