summaryrefslogtreecommitdiff
path: root/drivers/mfd/wm8400-core.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-05-13 14:58:45 +0400
committerLee Jones <lee.jones@linaro.org>2014-06-03 11:11:34 +0400
commitd1fb70e27b8617ec3280d4588b97ac581afa3ae4 (patch)
treea6c9a5800b95f73437db1636a1701fc621c5a90b /drivers/mfd/wm8400-core.c
parente920574d7f2869c7be859a4e37da9305be98698e (diff)
downloadlinux-d1fb70e27b8617ec3280d4588b97ac581afa3ae4.tar.xz
mfd: wm8400-core: Make mfd_cell array const
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>
Diffstat (limited to 'drivers/mfd/wm8400-core.c')
-rw-r--r--drivers/mfd/wm8400-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/wm8400-core.c b/drivers/mfd/wm8400-core.c
index e5eae751aa1b..c6fb5d16ca09 100644
--- 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),