projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c348c
)
mfd: ipaq-micro: Make mfd_cell array const
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Tue, 13 May 2014 10:58:40 +0000
(12:58 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 3 Jun 2014 07:11:43 +0000
(08:11 +0100)
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>
drivers/mfd/ipaq-micro.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/ipaq-micro.c
b/drivers/mfd/ipaq-micro.c
index 5d08daf3bd2ba05b527614497890317a3c133a21..7e50fe0118e39ddc0c3ec50fc83a387358a48c3b 100644
(file)
--- 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", },