projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ed5f23
)
ARM: EXYNOS: Fix power domain name initialization
author
Tomasz Figa
<t.figa@samsung.com>
Wed, 21 Nov 2012 15:21:12 +0000
(
00:21
+0900)
committer
Kukjin Kim
<kgene.kim@samsung.com>
Wed, 21 Nov 2012 15:38:58 +0000
(
00:38
+0900)
This patch adds initialization of name field in generic power domain
struct.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/pm_domains.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-exynos/pm_domains.c
b/arch/arm/mach-exynos/pm_domains.c
index
d1abc1a
..
5b7ce7e
100644
(file)
--- a/
arch/arm/mach-exynos/pm_domains.c
+++ b/
arch/arm/mach-exynos/pm_domains.c
@@
-98,7
+98,8
@@
static __init int exynos_pm_dt_parse_domains(void)
return -ENOMEM;
}
- pd->name = np->name;
+ pd->pd.name = kstrdup(np->name, GFP_KERNEL);
+ pd->name = pd->pd.name;
pd->base = of_iomap(np, 0);
pd->pd.power_off = exynos_pd_power_off;
pd->pd.power_on = exynos_pd_power_on;