projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1eb2cb
)
mfd: kempld-core: Make mfd_cell array const
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Tue, 13 May 2014 10:58:42 +0000
(12:58 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 3 Jun 2014 07:11:31 +0000
(08:11 +0100)
The kempld_devs (array of mfd_cells) can be safely made const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Kevin Strasser <kevin.strasser@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/kempld-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/kempld-core.c
b/drivers/mfd/kempld-core.c
index
25c5ca6
..
f7ff018
100644
(file)
--- a/
drivers/mfd/kempld-core.c
+++ b/
drivers/mfd/kempld-core.c
@@
-86,7
+86,7
@@
enum kempld_cells {
KEMPLD_UART,
};
-static struct mfd_cell kempld_devs[] = {
+static
const
struct mfd_cell kempld_devs[] = {
[KEMPLD_I2C] = {
.name = "kempld-i2c",
},