提交 165b1cb1 编写于 作者: K Krzysztof Kozlowski 提交者: Lee Jones

mfd: ipaq-micro: Make mfd_cell array const

mfd_add_devices() expects array of struct mfd_cell to be const.
Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 63c348cb
...@@ -368,7 +368,7 @@ static irqreturn_t micro_serial_isr(int irq, void *dev_id) ...@@ -368,7 +368,7 @@ static irqreturn_t micro_serial_isr(int irq, void *dev_id)
return IRQ_HANDLED; return IRQ_HANDLED;
} }
static struct mfd_cell micro_cells[] = { static const struct mfd_cell micro_cells[] = {
{ .name = "ipaq-micro-backlight", }, { .name = "ipaq-micro-backlight", },
{ .name = "ipaq-micro-battery", }, { .name = "ipaq-micro-battery", },
{ .name = "ipaq-micro-keys", }, { .name = "ipaq-micro-keys", },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册