|
@@ -50,6 +50,11 @@ static const char name_exynos4210[] = "EXYNOS4210";
|
|
|
static const char name_exynos4212[] = "EXYNOS4212";
|
|
|
static const char name_exynos4412[] = "EXYNOS4412";
|
|
|
|
|
|
+static void exynos4_map_io(void);
|
|
|
+static void exynos4_init_clocks(int xtal);
|
|
|
+static void exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no);
|
|
|
+static int exynos_init(void);
|
|
|
+
|
|
|
static struct cpu_table cpu_ids[] __initdata = {
|
|
|
{
|
|
|
.idcode = EXYNOS4210_CPU_ID,
|
|
@@ -225,7 +230,7 @@ void __init exynos_init_io(struct map_desc *mach_desc, int size)
|
|
|
s3c_init_cpu(samsung_cpu_id, cpu_ids, ARRAY_SIZE(cpu_ids));
|
|
|
}
|
|
|
|
|
|
-void __init exynos4_map_io(void)
|
|
|
+static void __init exynos4_map_io(void)
|
|
|
{
|
|
|
iotable_init(exynos4_iodesc, ARRAY_SIZE(exynos4_iodesc));
|
|
|
|
|
@@ -256,7 +261,7 @@ void __init exynos4_map_io(void)
|
|
|
s5p_hdmi_setname("exynos4-hdmi");
|
|
|
}
|
|
|
|
|
|
-void __init exynos4_init_clocks(int xtal)
|
|
|
+static void __init exynos4_init_clocks(int xtal)
|
|
|
{
|
|
|
printk(KERN_DEBUG "%s: initializing clocks\n", __func__);
|
|
|
|
|
@@ -456,7 +461,7 @@ static int __init exynos4_l2x0_cache_init(void)
|
|
|
early_initcall(exynos4_l2x0_cache_init);
|
|
|
#endif
|
|
|
|
|
|
-int __init exynos_init(void)
|
|
|
+static int __init exynos_init(void)
|
|
|
{
|
|
|
printk(KERN_INFO "EXYNOS: Initializing architecture\n");
|
|
|
return device_register(&exynos4_dev);
|
|
@@ -464,7 +469,7 @@ int __init exynos_init(void)
|
|
|
|
|
|
/* uart registration process */
|
|
|
|
|
|
-void __init exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no)
|
|
|
+static void __init exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no)
|
|
|
{
|
|
|
struct s3c2410_uartcfg *tcfg = cfg;
|
|
|
u32 ucnt;
|