projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e920574
)
mfd: wm8400-core: Make mfd_cell array const
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Tue, 13 May 2014 10:58:45 +0000
(12:58 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 3 Jun 2014 07:11:34 +0000
(08:11 +0100)
mfd_add_devices() expects array of struct mfd_cell to be const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/wm8400-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/wm8400-core.c
b/drivers/mfd/wm8400-core.c
index e5eae751aa1b1f22e6747fd94bc85ba62174f8d8..c6fb5d16ca09590c04f5e1f032e104d791a92ee7 100644
(file)
--- a/
drivers/mfd/wm8400-core.c
+++ b/
drivers/mfd/wm8400-core.c
@@
-64,7
+64,7
@@
EXPORT_SYMBOL_GPL(wm8400_block_read);
static int wm8400_register_codec(struct wm8400 *wm8400)
{
- struct mfd_cell cell = {
+
const
struct mfd_cell cell = {
.name = "wm8400-codec",
.platform_data = wm8400,
.pdata_size = sizeof(*wm8400),