Commit 250a99e7 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

ASoC: max9867: Constify max9867_reg and max9867_regmap

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avataranish kumar <yesanishhere@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1b36e4a2
......@@ -436,7 +436,7 @@ static bool max9867_volatile_register(struct device *dev, unsigned int reg)
}
}
static struct reg_default max9867_reg[] = {
static const struct reg_default max9867_reg[] = {
{ 0x04, 0x00 },
{ 0x05, 0x00 },
{ 0x06, 0x00 },
......@@ -459,7 +459,7 @@ static struct reg_default max9867_reg[] = {
{ 0x17, 0x00 },
};
static struct regmap_config max9867_regmap = {
static const struct regmap_config max9867_regmap = {
.reg_bits = 8,
.val_bits = 8,
.max_register = MAX9867_REVISION,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment