提交 7f70495a 编写于 作者: A Axel Lin 提交者: Lee Jones

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: NAxel Lin <axel.lin@ingics.com>
Reviewed-by: NThor Thayer <tthayer@opensource.altera.com>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 88003fb1
...@@ -94,7 +94,7 @@ static bool altr_a10sr_reg_volatile(struct device *dev, unsigned int reg) ...@@ -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, .reg_bits = 8,
.val_bits = 8, .val_bits = 8,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册