diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-05-13 14:58:43 +0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-06-03 11:11:36 +0400 |
commit | 81cf4f2d988fbc199fcf4757147b39414188168e (patch) | |
tree | ff07d532764df51605fd389458ebf5cc81ade503 /drivers/mfd/lp3943.c | |
parent | 8f7f62705efbcffa933897af267210cc216c1302 (diff) | |
download | linux-81cf4f2d988fbc199fcf4757147b39414188168e.tar.xz |
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>
Diffstat (limited to 'drivers/mfd/lp3943.c')
-rw-r--r-- | drivers/mfd/lp3943.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/lp3943.c b/drivers/mfd/lp3943.c index e32226836fb4..335b930112b2 100644 --- a/drivers/mfd/lp3943.c +++ b/drivers/mfd/lp3943.c @@ -62,7 +62,7 @@ static const struct lp3943_reg_cfg lp3943_mux_cfg[] = { { LP3943_REG_MUX3, 0xC0, 6 }, }; -static struct mfd_cell lp3943_devs[] = { +static const struct mfd_cell lp3943_devs[] = { { .name = "lp3943-pwm", .of_compatible = "ti,lp3943-pwm", |