Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <axel.lin@ingics.com>
Reviewed-by: Thor Thayer <tthayer@opensource.altera.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Axel Lin and committed by
Lee Jones
7f70495a 88003fb1

+1 -1
+1 -1
drivers/mfd/altera-a10sr.c
··· 94 94 } 95 95 } 96 96 97 - const struct regmap_config altr_a10sr_regmap_config = { 97 + static const struct regmap_config altr_a10sr_regmap_config = { 98 98 .reg_bits = 8, 99 99 .val_bits = 8, 100 100