mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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: Axel Lin <[email protected]> Reviewed-by: Thor Thayer <[email protected]> Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
parent
88003fb10f
commit
7f70495a51
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue