From bebf5cf9a2b16613d925f15c178abd27adbec42f Mon Sep 17 00:00:00 2001 From: Tomasz Figa Date: Thu, 22 Nov 2012 00:21:12 +0900 Subject: [PATCH] --- yaml --- r: 342323 b: refs/heads/master c: 7add0ec0fef19d5b7a3ae38c5deb80819a065a17 h: refs/heads/master i: 342321: 0843299a34cdd917a67a3849c4273060b8566aca 342319: 7c394d4582ad0cf22305de421f990457e0a7e45e v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-exynos/pm_domains.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 23b89973427a..e82fc2a292c6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2ed5f236716cbd20f51bdc87ddd91bad259c81a6 +refs/heads/master: 7add0ec0fef19d5b7a3ae38c5deb80819a065a17 diff --git a/trunk/arch/arm/mach-exynos/pm_domains.c b/trunk/arch/arm/mach-exynos/pm_domains.c index d1abc1a94ecd..5b7ce7ea6c61 100644 --- a/trunk/arch/arm/mach-exynos/pm_domains.c +++ b/trunk/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;