projects
/
GitHub
/
LineageOS
/
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:
488e900
)
mfd: db8500-prcmu: Make mfd_cell array const
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Tue, 13 May 2014 10:58:41 +0000
(12:58 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 3 Jun 2014 07:11:33 +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/db8500-prcmu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/db8500-prcmu.c
b/drivers/mfd/db8500-prcmu.c
index b11fdd63eecdaa68b58cdefd9af1204c2bf69887..722c2ceaa1c89715a64b255afd039f01248931af 100644
(file)
--- a/
drivers/mfd/db8500-prcmu.c
+++ b/
drivers/mfd/db8500-prcmu.c
@@
-3112,7
+3112,7
@@
static int db8500_prcmu_register_ab8500(struct device *parent,
{
struct device_node *np;
struct resource ab8500_resource;
- struct mfd_cell ab8500_cell = {
+
const
struct mfd_cell ab8500_cell = {
.name = "ab8500-core",
.of_compatible = "stericsson,ab8500",
.id = AB8500_VERSION_AB8500,