diff options
author | Tomasz Figa <t.figa@samsung.com> | 2014-03-17 18:28:22 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-03-20 15:09:27 -0400 |
commit | 559ba237999d723ccba5b4a75cf6b280bac1ab21 (patch) | |
tree | 763d8c73834bde6b5c65e3e04241c215468d390c /arch/arm/mach-exynos/common.h | |
parent | dbc5ca163dc46153a8e5249da627af571ae47c10 (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.h | 6 |
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 | ||
28 | void exynos_firmware_init(void); | 28 | void exynos_firmware_init(void); |
29 | 29 | ||
30 | #ifdef CONFIG_PM_SLEEP | ||
31 | extern void __init exynos_pm_init(void); | ||
32 | #else | ||
33 | static inline void exynos_pm_init(void) {} | ||
34 | #endif | ||
35 | |||
30 | extern struct smp_operations exynos_smp_ops; | 36 | extern struct smp_operations exynos_smp_ops; |
31 | 37 | ||
32 | extern void exynos_cpu_die(unsigned int cpu); | 38 | extern void exynos_cpu_die(unsigned int cpu); |