projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88003fb
)
mfd: altera-a10sr: Make altr_a10sr_regmap_config static const
author
Axel Lin
<axel.lin@ingics.com>
Fri, 5 Aug 2016 06:40:31 +0000
(14:40 +0800)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 4 Oct 2016 14:48:01 +0000
(15:48 +0100)
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>
drivers/mfd/altera-a10sr.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/altera-a10sr.c
b/drivers/mfd/altera-a10sr.c
index
c05aa4f
..
40ed65e
100644
(file)
--- 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,