Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: lp3943: 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: Milo Kim <milo.kim@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Lee Jones
81cf4f2d 8f7f6270

+1 -1
+1 -1
drivers/mfd/lp3943.c
··· 62 62 { LP3943_REG_MUX3, 0xC0, 6 }, 63 63 }; 64 64 65 - static struct mfd_cell lp3943_devs[] = { 65 + static const struct mfd_cell lp3943_devs[] = { 66 66 { 67 67 .name = "lp3943-pwm", 68 68 .of_compatible = "ti,lp3943-pwm",