mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 03:04:01 +08:00
ARM: EXYNOS: Fix power domain name initialization
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>
This commit is contained in:
parent
2ed5f23671
commit
7add0ec0fe
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user