summaryrefslogtreecommitdiff
path: root/drivers/mfd/ipaq-micro.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-05-13 12:58:40 +0200
committerLee Jones <lee.jones@linaro.org>2014-06-03 08:11:43 +0100
commit165b1cb15591e1e7f7769b8e1c32a0aae7918fb4 (patch)
tree79cc64dc6aec8fe5e0b98a374f13536ad6c38380 /drivers/mfd/ipaq-micro.c
parent63c348cb2b9c41fad259e6471692927f95e61d27 (diff)
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>
Diffstat (limited to 'drivers/mfd/ipaq-micro.c')
-rw-r--r--drivers/mfd/ipaq-micro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ipaq-micro.c b/drivers/mfd/ipaq-micro.c
index 5d08daf3bd2b..7e50fe0118e3 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", },