mfd: ipaq-micro: 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>
This commit is contained in:
Krzysztof Kozlowski 2014-05-13 12:58:40 +02:00 committed by Lee Jones
parent 63c348cb2b
commit 165b1cb155

View File

@ -368,7 +368,7 @@ static irqreturn_t micro_serial_isr(int irq, void *dev_id)
return IRQ_HANDLED;
}
static struct mfd_cell micro_cells[] = {
static const struct mfd_cell micro_cells[] = {
{ .name = "ipaq-micro-backlight", },
{ .name = "ipaq-micro-battery", },
{ .name = "ipaq-micro-keys", },