aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r--arch/arm/mach-exynos/common.h2
-rw-r--r--arch/arm/mach-exynos/mach-armlex4210.c2
-rw-r--r--arch/arm/mach-exynos/mach-exynos4-dt.c2
-rw-r--r--arch/arm/mach-exynos/mach-exynos5-dt.c2
-rw-r--r--arch/arm/mach-exynos/mach-nuri.c2
-rw-r--r--arch/arm/mach-exynos/mach-origen.c2
-rw-r--r--arch/arm/mach-exynos/mach-smdk4x12.c4
-rw-r--r--arch/arm/mach-exynos/mach-smdkv310.c4
-rw-r--r--arch/arm/mach-exynos/mach-universal_c210.c2
-rw-r--r--arch/arm/mach-exynos/mct.c6
10 files changed, 12 insertions, 16 deletions
diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
index 04744f9c120f..12f2f1117e99 100644
--- a/arch/arm/mach-exynos/common.h
+++ b/arch/arm/mach-exynos/common.h
@@ -12,7 +12,7 @@
12#ifndef __ARCH_ARM_MACH_EXYNOS_COMMON_H 12#ifndef __ARCH_ARM_MACH_EXYNOS_COMMON_H
13#define __ARCH_ARM_MACH_EXYNOS_COMMON_H 13#define __ARCH_ARM_MACH_EXYNOS_COMMON_H
14 14
15extern struct sys_timer exynos4_timer; 15extern void exynos4_timer_init(void);
16 16
17struct map_desc; 17struct map_desc;
18void exynos_init_io(struct map_desc *mach_desc, int size); 18void exynos_init_io(struct map_desc *mach_desc, int size);
diff --git a/arch/arm/mach-exynos/mach-armlex4210.c b/arch/arm/mach-exynos/mach-armlex4210.c
index b938f9fc1dd1..2f18130d0d10 100644
--- a/arch/arm/mach-exynos/mach-armlex4210.c
+++ b/arch/arm/mach-exynos/mach-armlex4210.c
@@ -204,6 +204,6 @@ MACHINE_START(ARMLEX4210, "ARMLEX4210")
204 .handle_irq = gic_handle_irq, 204 .handle_irq = gic_handle_irq,
205 .init_machine = armlex4210_machine_init, 205 .init_machine = armlex4210_machine_init,
206 .init_late = exynos_init_late, 206 .init_late = exynos_init_late,
207 .timer = &exynos4_timer, 207 .init_time = exynos4_timer_init,
208 .restart = exynos4_restart, 208 .restart = exynos4_restart,
209MACHINE_END 209MACHINE_END
diff --git a/arch/arm/mach-exynos/mach-exynos4-dt.c b/arch/arm/mach-exynos/mach-exynos4-dt.c
index 92757ff817ae..160030168b19 100644
--- a/arch/arm/mach-exynos/mach-exynos4-dt.c
+++ b/arch/arm/mach-exynos/mach-exynos4-dt.c
@@ -110,7 +110,7 @@ DT_MACHINE_START(EXYNOS4210_DT, "Samsung Exynos4 (Flattened Device Tree)")
110 .handle_irq = gic_handle_irq, 110 .handle_irq = gic_handle_irq,
111 .init_machine = exynos4_dt_machine_init, 111 .init_machine = exynos4_dt_machine_init,
112 .init_late = exynos_init_late, 112 .init_late = exynos_init_late,
113 .timer = &exynos4_timer, 113 .init_time = exynos4_timer_init,
114 .dt_compat = exynos4_dt_compat, 114 .dt_compat = exynos4_dt_compat,
115 .restart = exynos4_restart, 115 .restart = exynos4_restart,
116MACHINE_END 116MACHINE_END
diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c
index e99d3d8f2bcf..4e074c67cc8b 100644
--- a/arch/arm/mach-exynos/mach-exynos5-dt.c
+++ b/arch/arm/mach-exynos/mach-exynos5-dt.c
@@ -182,7 +182,7 @@ DT_MACHINE_START(EXYNOS5_DT, "SAMSUNG EXYNOS5 (Flattened Device Tree)")
182 .handle_irq = gic_handle_irq, 182 .handle_irq = gic_handle_irq,
183 .init_machine = exynos5_dt_machine_init, 183 .init_machine = exynos5_dt_machine_init,
184 .init_late = exynos_init_late, 184 .init_late = exynos_init_late,
185 .timer = &exynos4_timer, 185 .init_time = exynos4_timer_init,
186 .dt_compat = exynos5_dt_compat, 186 .dt_compat = exynos5_dt_compat,
187 .restart = exynos5_restart, 187 .restart = exynos5_restart,
188 .reserve = exynos5_reserve, 188 .reserve = exynos5_reserve,
diff --git a/arch/arm/mach-exynos/mach-nuri.c b/arch/arm/mach-exynos/mach-nuri.c
index 27d4ed8b116e..dccd1d16b836 100644
--- a/arch/arm/mach-exynos/mach-nuri.c
+++ b/arch/arm/mach-exynos/mach-nuri.c
@@ -1382,7 +1382,7 @@ MACHINE_START(NURI, "NURI")
1382 .handle_irq = gic_handle_irq, 1382 .handle_irq = gic_handle_irq,
1383 .init_machine = nuri_machine_init, 1383 .init_machine = nuri_machine_init,
1384 .init_late = exynos_init_late, 1384 .init_late = exynos_init_late,
1385 .timer = &exynos4_timer, 1385 .init_time = exynos4_timer_init,
1386 .reserve = &nuri_reserve, 1386 .reserve = &nuri_reserve,
1387 .restart = exynos4_restart, 1387 .restart = exynos4_restart,
1388MACHINE_END 1388MACHINE_END
diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c
index 5e34b9c16196..4e1156324562 100644
--- a/arch/arm/mach-exynos/mach-origen.c
+++ b/arch/arm/mach-exynos/mach-origen.c
@@ -817,7 +817,7 @@ MACHINE_START(ORIGEN, "ORIGEN")
817 .handle_irq = gic_handle_irq, 817 .handle_irq = gic_handle_irq,
818 .init_machine = origen_machine_init, 818 .init_machine = origen_machine_init,
819 .init_late = exynos_init_late, 819 .init_late = exynos_init_late,
820 .timer = &exynos4_timer, 820 .init_time = exynos4_timer_init,
821 .reserve = &origen_reserve, 821 .reserve = &origen_reserve,
822 .restart = exynos4_restart, 822 .restart = exynos4_restart,
823MACHINE_END 823MACHINE_END
diff --git a/arch/arm/mach-exynos/mach-smdk4x12.c b/arch/arm/mach-exynos/mach-smdk4x12.c
index ae6da40c2aa9..e9c9c2995f09 100644
--- a/arch/arm/mach-exynos/mach-smdk4x12.c
+++ b/arch/arm/mach-exynos/mach-smdk4x12.c
@@ -378,7 +378,7 @@ MACHINE_START(SMDK4212, "SMDK4212")
378 .map_io = smdk4x12_map_io, 378 .map_io = smdk4x12_map_io,
379 .handle_irq = gic_handle_irq, 379 .handle_irq = gic_handle_irq,
380 .init_machine = smdk4x12_machine_init, 380 .init_machine = smdk4x12_machine_init,
381 .timer = &exynos4_timer, 381 .init_time = exynos4_timer_init,
382 .restart = exynos4_restart, 382 .restart = exynos4_restart,
383 .reserve = &smdk4x12_reserve, 383 .reserve = &smdk4x12_reserve,
384MACHINE_END 384MACHINE_END
@@ -393,7 +393,7 @@ MACHINE_START(SMDK4412, "SMDK4412")
393 .handle_irq = gic_handle_irq, 393 .handle_irq = gic_handle_irq,
394 .init_machine = smdk4x12_machine_init, 394 .init_machine = smdk4x12_machine_init,
395 .init_late = exynos_init_late, 395 .init_late = exynos_init_late,
396 .timer = &exynos4_timer, 396 .init_time = exynos4_timer_init,
397 .restart = exynos4_restart, 397 .restart = exynos4_restart,
398 .reserve = &smdk4x12_reserve, 398 .reserve = &smdk4x12_reserve,
399MACHINE_END 399MACHINE_END
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c
index 35548e3c097d..b228ab9bda0b 100644
--- a/arch/arm/mach-exynos/mach-smdkv310.c
+++ b/arch/arm/mach-exynos/mach-smdkv310.c
@@ -425,7 +425,7 @@ MACHINE_START(SMDKV310, "SMDKV310")
425 .map_io = smdkv310_map_io, 425 .map_io = smdkv310_map_io,
426 .handle_irq = gic_handle_irq, 426 .handle_irq = gic_handle_irq,
427 .init_machine = smdkv310_machine_init, 427 .init_machine = smdkv310_machine_init,
428 .timer = &exynos4_timer, 428 .init_time = exynos4_timer_init,
429 .reserve = &smdkv310_reserve, 429 .reserve = &smdkv310_reserve,
430 .restart = exynos4_restart, 430 .restart = exynos4_restart,
431MACHINE_END 431MACHINE_END
@@ -439,7 +439,7 @@ MACHINE_START(SMDKC210, "SMDKC210")
439 .handle_irq = gic_handle_irq, 439 .handle_irq = gic_handle_irq,
440 .init_machine = smdkv310_machine_init, 440 .init_machine = smdkv310_machine_init,
441 .init_late = exynos_init_late, 441 .init_late = exynos_init_late,
442 .timer = &exynos4_timer, 442 .init_time = exynos4_timer_init,
443 .reserve = &smdkv310_reserve, 443 .reserve = &smdkv310_reserve,
444 .restart = exynos4_restart, 444 .restart = exynos4_restart,
445MACHINE_END 445MACHINE_END
diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-exynos/mach-universal_c210.c
index 9e3340f18950..866f29a9beee 100644
--- a/arch/arm/mach-exynos/mach-universal_c210.c
+++ b/arch/arm/mach-exynos/mach-universal_c210.c
@@ -1154,7 +1154,7 @@ MACHINE_START(UNIVERSAL_C210, "UNIVERSAL_C210")
1154 .handle_irq = gic_handle_irq, 1154 .handle_irq = gic_handle_irq,
1155 .init_machine = universal_machine_init, 1155 .init_machine = universal_machine_init,
1156 .init_late = exynos_init_late, 1156 .init_late = exynos_init_late,
1157 .timer = &s5p_timer, 1157 .init_time = s5p_timer_init,
1158 .reserve = &universal_reserve, 1158 .reserve = &universal_reserve,
1159 .restart = exynos4_restart, 1159 .restart = exynos4_restart,
1160MACHINE_END 1160MACHINE_END
diff --git a/arch/arm/mach-exynos/mct.c b/arch/arm/mach-exynos/mct.c
index 57668eb68e75..4a89b54fcadb 100644
--- a/arch/arm/mach-exynos/mct.c
+++ b/arch/arm/mach-exynos/mct.c
@@ -478,7 +478,7 @@ static void __init exynos4_timer_resources(void)
478#endif /* CONFIG_LOCAL_TIMERS */ 478#endif /* CONFIG_LOCAL_TIMERS */
479} 479}
480 480
481static void __init exynos_timer_init(void) 481void __init exynos4_timer_init(void)
482{ 482{
483 if (soc_is_exynos5440()) { 483 if (soc_is_exynos5440()) {
484 arch_timer_of_register(); 484 arch_timer_of_register();
@@ -494,7 +494,3 @@ static void __init exynos_timer_init(void)
494 exynos4_clocksource_init(); 494 exynos4_clocksource_init();
495 exynos4_clockevent_init(); 495 exynos4_clockevent_init();
496} 496}
497
498struct sys_timer exynos4_timer = {
499 .init = exynos_timer_init,
500};