From: Krzysztof Kozlowski Date: Tue, 13 May 2014 10:58:41 +0000 (+0200) Subject: mfd: db8500-prcmu: Make mfd_cell array const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5785a97e3d977a68854be9702ba428dd4c1f7e74;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mfd: db8500-prcmu: Make mfd_cell array const mfd_add_devices() expects array of struct mfd_cell to be const. Signed-off-by: Krzysztof Kozlowski Acked-by: Linus Walleij Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index b11fdd63eecd..722c2ceaa1c8 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -3112,7 +3112,7 @@ static int db8500_prcmu_register_ab8500(struct device *parent, { struct device_node *np; struct resource ab8500_resource; - struct mfd_cell ab8500_cell = { + const struct mfd_cell ab8500_cell = { .name = "ab8500-core", .of_compatible = "stericsson,ab8500", .id = AB8500_VERSION_AB8500,