]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: EXYNOS: Remove regs-pmu.h header dependency from pm_domain
authorPankaj Dubey <pankaj.dubey@samsung.com>
Mon, 7 Jul 2014 22:54:19 +0000 (07:54 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 14 Jul 2014 23:40:32 +0000 (08:40 +0900)
commitb634e38f31a4b70dcaefd21b1158c27d520bd017
treecffb6baef0eb25827d85d1d1d7857c4fcd25be7d
parent4552386a3ef9a1db6190ed2e089a93f339d428eb
ARM: EXYNOS: Remove regs-pmu.h header dependency from pm_domain

Current "pm_domain.c" file uses "S5P_INT_LOCAL_PWR_EN" definition from
"regs-pmu.h" and hence needs to include this header file. As there is
no other user of "S5P_INT_LOCAL_PWR_EN" definition other than pm_domain,
to remove "regs-pmu.h" header file dependency from "pm_domain.c"  it's
better we define this definition in "pm_domain.c" file itself and thus it
will help in removing header file inclusion from "pm_domain.c".
Also removing "S5P_" prefix from macro.

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/pm_domains.c
arch/arm/mach-exynos/regs-pmu.h