Commit d1fb70e2 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Lee Jones

mfd: wm8400-core: Make mfd_cell array const

mfd_add_devices() expects array of struct mfd_cell to be const.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent e920574d
...@@ -64,7 +64,7 @@ EXPORT_SYMBOL_GPL(wm8400_block_read); ...@@ -64,7 +64,7 @@ EXPORT_SYMBOL_GPL(wm8400_block_read);
static int wm8400_register_codec(struct wm8400 *wm8400) static int wm8400_register_codec(struct wm8400 *wm8400)
{ {
struct mfd_cell cell = { const struct mfd_cell cell = {
.name = "wm8400-codec", .name = "wm8400-codec",
.platform_data = wm8400, .platform_data = wm8400,
.pdata_size = sizeof(*wm8400), .pdata_size = sizeof(*wm8400),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment