diff options
author | Axel Lin <axel.lin@ingics.com> | 2016-08-05 06:40:31 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-10-04 14:48:01 (GMT) |
commit | 7f70495a51889e86930fb3807fa984b8b370eaf3 (patch) | |
tree | 675775dd76cf550a855f3882cad05f68956fcad3 | |
parent | 88003fb10f1fc606e1704611c62ceae95fd1d7da (diff) | |
download | linux-7f70495a51889e86930fb3807fa984b8b370eaf3.tar.xz |
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>
-rw-r--r-- | drivers/mfd/altera-a10sr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/altera-a10sr.c b/drivers/mfd/altera-a10sr.c index c05aa4f..40ed65e 100644 --- a/drivers/mfd/altera-a10sr.c +++ b/drivers/mfd/altera-a10sr.c @@ -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, |