summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/s5pv210.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s5pv210/s5pv210.c')
-rw-r--r--arch/arm/mach-s5pv210/s5pv210.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/s5pv210.c b/arch/arm/mach-s5pv210/s5pv210.c
index c244ccb6b236..35db1ce9e11c 100644
--- a/arch/arm/mach-s5pv210/s5pv210.c
+++ b/arch/arm/mach-s5pv210/s5pv210.c
@@ -20,6 +20,8 @@
#include <plat/map-base.h>
#include <mach/regs-clock.h>
+#include "common.h"
+
static int __init s5pv210_fdt_map_sys(unsigned long node, const char *uname,
int depth, void *data)
{
@@ -55,6 +57,11 @@ static void s5pv210_dt_restart(enum reboot_mode mode, const char *cmd)
__raw_writel(0x1, S5P_SWRESET);
}
+static void __init s5pv210_dt_init_late(void)
+{
+ s5pv210_pm_init();
+}
+
static char const *s5pv210_dt_compat[] __initconst = {
"samsung,s5pc110",
"samsung,s5pv210",
@@ -65,4 +72,5 @@ DT_MACHINE_START(S5PV210_DT, "Samsung S5PC110/S5PV210-based board")
.dt_compat = s5pv210_dt_compat,
.map_io = s5pv210_dt_map_io,
.restart = s5pv210_dt_restart,
+ .init_late = s5pv210_dt_init_late,
MACHINE_END