diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2012-01-24 06:52:52 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-03-14 05:13:03 -0400 |
commit | 920f4880162e70cb4fc8db8e7b0f15f3b307baf9 (patch) | |
tree | 953b897d57bbae19f6cc260b7535381f9717bd37 /arch/arm/mach-exynos | |
parent | 906c789c64ac18c3fa536fe9d3c37e44b5914af1 (diff) |
ARM: EXYNOS: use exynos_init_uarts() instead of exynos4_init_uarts()
Since exynos4_init_uarts() can be used for EXYNOS5 SoCs,
this patch changes the name of function to exynos_init_uarts().
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r-- | arch/arm/mach-exynos/common.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index a1f8a9940e62..02eed29c1580 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c | |||
@@ -52,7 +52,7 @@ static const char name_exynos4412[] = "EXYNOS4412"; | |||
52 | 52 | ||
53 | static void exynos4_map_io(void); | 53 | static void exynos4_map_io(void); |
54 | static void exynos4_init_clocks(int xtal); | 54 | static void exynos4_init_clocks(int xtal); |
55 | static void exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no); | 55 | static void exynos_init_uarts(struct s3c2410_uartcfg *cfg, int no); |
56 | static int exynos_init(void); | 56 | static int exynos_init(void); |
57 | 57 | ||
58 | static struct cpu_table cpu_ids[] __initdata = { | 58 | static struct cpu_table cpu_ids[] __initdata = { |
@@ -61,7 +61,7 @@ static struct cpu_table cpu_ids[] __initdata = { | |||
61 | .idmask = EXYNOS4_CPU_MASK, | 61 | .idmask = EXYNOS4_CPU_MASK, |
62 | .map_io = exynos4_map_io, | 62 | .map_io = exynos4_map_io, |
63 | .init_clocks = exynos4_init_clocks, | 63 | .init_clocks = exynos4_init_clocks, |
64 | .init_uarts = exynos4_init_uarts, | 64 | .init_uarts = exynos_init_uarts, |
65 | .init = exynos_init, | 65 | .init = exynos_init, |
66 | .name = name_exynos4210, | 66 | .name = name_exynos4210, |
67 | }, { | 67 | }, { |
@@ -69,7 +69,7 @@ static struct cpu_table cpu_ids[] __initdata = { | |||
69 | .idmask = EXYNOS4_CPU_MASK, | 69 | .idmask = EXYNOS4_CPU_MASK, |
70 | .map_io = exynos4_map_io, | 70 | .map_io = exynos4_map_io, |
71 | .init_clocks = exynos4_init_clocks, | 71 | .init_clocks = exynos4_init_clocks, |
72 | .init_uarts = exynos4_init_uarts, | 72 | .init_uarts = exynos_init_uarts, |
73 | .init = exynos_init, | 73 | .init = exynos_init, |
74 | .name = name_exynos4212, | 74 | .name = name_exynos4212, |
75 | }, { | 75 | }, { |
@@ -77,7 +77,7 @@ static struct cpu_table cpu_ids[] __initdata = { | |||
77 | .idmask = EXYNOS4_CPU_MASK, | 77 | .idmask = EXYNOS4_CPU_MASK, |
78 | .map_io = exynos4_map_io, | 78 | .map_io = exynos4_map_io, |
79 | .init_clocks = exynos4_init_clocks, | 79 | .init_clocks = exynos4_init_clocks, |
80 | .init_uarts = exynos4_init_uarts, | 80 | .init_uarts = exynos_init_uarts, |
81 | .init = exynos_init, | 81 | .init = exynos_init, |
82 | .name = name_exynos4412, | 82 | .name = name_exynos4412, |
83 | }, | 83 | }, |
@@ -469,7 +469,7 @@ static int __init exynos_init(void) | |||
469 | 469 | ||
470 | /* uart registration process */ | 470 | /* uart registration process */ |
471 | 471 | ||
472 | static void __init exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no) | 472 | static void __init exynos_init_uarts(struct s3c2410_uartcfg *cfg, int no) |
473 | { | 473 | { |
474 | struct s3c2410_uartcfg *tcfg = cfg; | 474 | struct s3c2410_uartcfg *tcfg = cfg; |
475 | u32 ucnt; | 475 | u32 ucnt; |