Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f70495a authored by Axel Lin's avatar Axel Lin Committed by Lee Jones
Browse files

mfd: altera-a10sr: Make altr_a10sr_regmap_config static const



It's only used in this driver and never get modified, make it static const.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Reviewed-by: default avatarThor Thayer <tthayer@opensource.altera.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 88003fb1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ static bool altr_a10sr_reg_volatile(struct device *dev, unsigned int reg)
	}
}

const struct regmap_config altr_a10sr_regmap_config = {
static const struct regmap_config altr_a10sr_regmap_config = {
	.reg_bits = 8,
	.val_bits = 8,