aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-05-13 06:58:41 -0400
committerLee Jones <lee.jones@linaro.org>2014-06-03 03:11:33 -0400
commit5785a97e3d977a68854be9702ba428dd4c1f7e74 (patch)
tree9986add763aaa8bfdf053ba8b91cdcece0eef6bf /drivers/mfd
parent488e90032064fa6fcd34d45400a9e45f58668bbc (diff)
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 <k.kozlowski@samsung.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/db8500-prcmu.c2
1 files changed, 1 insertions, 1 deletions
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,
3112{ 3112{
3113 struct device_node *np; 3113 struct device_node *np;
3114 struct resource ab8500_resource; 3114 struct resource ab8500_resource;
3115 struct mfd_cell ab8500_cell = { 3115 const struct mfd_cell ab8500_cell = {
3116 .name = "ab8500-core", 3116 .name = "ab8500-core",
3117 .of_compatible = "stericsson,ab8500", 3117 .of_compatible = "stericsson,ab8500",
3118 .id = AB8500_VERSION_AB8500, 3118 .id = AB8500_VERSION_AB8500,