“1577ecef766650a57fceb171acee2b13cbfaf1d3”上不存在“README.md”
提交 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)
}
}
const struct regmap_config altr_a10sr_regmap_config = {
static const struct regmap_config altr_a10sr_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部