From 165b1cb15591e1e7f7769b8e1c32a0aae7918fb4 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Tue, 13 May 2014 12:58:40 +0200 Subject: 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 Acked-by: Linus Walleij Signed-off-by: Lee Jones --- drivers/mfd/ipaq-micro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/mfd/ipaq-micro.c') diff --git a/drivers/mfd/ipaq-micro.c b/drivers/mfd/ipaq-micro.c index 5d08daf..7e50fe0 100644 --- a/drivers/mfd/ipaq-micro.c +++ b/drivers/mfd/ipaq-micro.c @@ -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", }, -- cgit v1.1