aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/common.h
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2014-03-17 18:28:22 -0400
committerKukjin Kim <kgene.kim@samsung.com>2014-03-20 15:09:27 -0400
commit559ba237999d723ccba5b4a75cf6b280bac1ab21 (patch)
tree763d8c73834bde6b5c65e3e04241c215468d390c /arch/arm/mach-exynos/common.h
parentdbc5ca163dc46153a8e5249da627af571ae47c10 (diff)
ARM: EXYNOS: Remove PM initcalls and useless indirection
This patch simplifies Exynos PM initialization and makes it multiplatform friendly by replacing initcalls used originally to invoke all the initialization code with explicit function calls. In addition, an useless subsys_interface is removed, as all its .add_dev callback did was setting two function pointers. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/common.h')
-rw-r--r--arch/arm/mach-exynos/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
index f76967b1c551..82e08fb83eae 100644
--- a/arch/arm/mach-exynos/common.h
+++ b/arch/arm/mach-exynos/common.h
@@ -27,6 +27,12 @@ void exynos_init_late(void);
27 27
28void exynos_firmware_init(void); 28void exynos_firmware_init(void);
29 29
30#ifdef CONFIG_PM_SLEEP
31extern void __init exynos_pm_init(void);
32#else
33static inline void exynos_pm_init(void) {}
34#endif
35
30extern struct smp_operations exynos_smp_ops; 36extern struct smp_operations exynos_smp_ops;
31 37
32extern void exynos_cpu_die(unsigned int cpu); 38extern void exynos_cpu_die(unsigned int cpu);