aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/common.c')
-rw-r--r--arch/arm/mach-exynos/common.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index 34e819068fa4..a1f8a9940e62 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -50,6 +50,11 @@ static const char name_exynos4210[] = "EXYNOS4210";
50static const char name_exynos4212[] = "EXYNOS4212"; 50static const char name_exynos4212[] = "EXYNOS4212";
51static const char name_exynos4412[] = "EXYNOS4412"; 51static const char name_exynos4412[] = "EXYNOS4412";
52 52
53static void exynos4_map_io(void);
54static void exynos4_init_clocks(int xtal);
55static void exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no);
56static int exynos_init(void);
57
53static struct cpu_table cpu_ids[] __initdata = { 58static struct cpu_table cpu_ids[] __initdata = {
54 { 59 {
55 .idcode = EXYNOS4210_CPU_ID, 60 .idcode = EXYNOS4210_CPU_ID,
@@ -225,7 +230,7 @@ void __init exynos_init_io(struct map_desc *mach_desc, int size)
225 s3c_init_cpu(samsung_cpu_id, cpu_ids, ARRAY_SIZE(cpu_ids)); 230 s3c_init_cpu(samsung_cpu_id, cpu_ids, ARRAY_SIZE(cpu_ids));
226} 231}
227 232
228void __init exynos4_map_io(void) 233static void __init exynos4_map_io(void)
229{ 234{
230 iotable_init(exynos4_iodesc, ARRAY_SIZE(exynos4_iodesc)); 235 iotable_init(exynos4_iodesc, ARRAY_SIZE(exynos4_iodesc));
231 236
@@ -256,7 +261,7 @@ void __init exynos4_map_io(void)
256 s5p_hdmi_setname("exynos4-hdmi"); 261 s5p_hdmi_setname("exynos4-hdmi");
257} 262}
258 263
259void __init exynos4_init_clocks(int xtal) 264static void __init exynos4_init_clocks(int xtal)
260{ 265{
261 printk(KERN_DEBUG "%s: initializing clocks\n", __func__); 266 printk(KERN_DEBUG "%s: initializing clocks\n", __func__);
262 267
@@ -456,7 +461,7 @@ static int __init exynos4_l2x0_cache_init(void)
456early_initcall(exynos4_l2x0_cache_init); 461early_initcall(exynos4_l2x0_cache_init);
457#endif 462#endif
458 463
459int __init exynos_init(void) 464static int __init exynos_init(void)
460{ 465{
461 printk(KERN_INFO "EXYNOS: Initializing architecture\n"); 466 printk(KERN_INFO "EXYNOS: Initializing architecture\n");
462 return device_register(&exynos4_dev); 467 return device_register(&exynos4_dev);
@@ -464,7 +469,7 @@ int __init exynos_init(void)
464 469
465/* uart registration process */ 470/* uart registration process */
466 471
467void __init exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no) 472static void __init exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no)
468{ 473{
469 struct s3c2410_uartcfg *tcfg = cfg; 474 struct s3c2410_uartcfg *tcfg = cfg;
470 u32 ucnt; 475 u32 ucnt;