Skip to content

Commit

Permalink
mfd: altera-a10sr: Make altr_a10sr_regmap_config static const
Browse files Browse the repository at this point in the history
It's only used in this driver and never get modified, make it static const.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Thor Thayer <tthayer@opensource.altera.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
Axel Lin authored and Lee Jones committed Oct 4, 2016
1 parent 88003fb commit 7f70495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/altera-a10sr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit 7f70495

Please sign in to comment.