mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-08 14:23:19 +00:00
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:
parent
63c348cb2b
commit
165b1cb155
@ -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", },
|
||||||
|
Loading…
Reference in New Issue
Block a user