diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2024-08-22 15:55:35 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-22 16:32:12 +0100 |
commit | 90dc34da02aca2fe529ae1ed1822e8fc2a0d9ebc (patch) | |
tree | ea5f256e6a53f2653fef36a03f131578771fc5cd /include | |
parent | 1a9e3b0af301413210319e6946fb4b0b1ad71ccc (diff) |
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')
-rw-r--r-- | include/sound/cs35l56.h | 6 |
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; |