Commit 920f4880 authored by Kukjin Kim's avatar Kukjin Kim

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: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 906c789c
...@@ -52,7 +52,7 @@ static const char name_exynos4412[] = "EXYNOS4412"; ...@@ -52,7 +52,7 @@ static const char name_exynos4412[] = "EXYNOS4412";
static void exynos4_map_io(void); static void exynos4_map_io(void);
static void exynos4_init_clocks(int xtal); static void exynos4_init_clocks(int xtal);
static void exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no); static void exynos_init_uarts(struct s3c2410_uartcfg *cfg, int no);
static int exynos_init(void); static int exynos_init(void);
static struct cpu_table cpu_ids[] __initdata = { static struct cpu_table cpu_ids[] __initdata = {
...@@ -61,7 +61,7 @@ static struct cpu_table cpu_ids[] __initdata = { ...@@ -61,7 +61,7 @@ static struct cpu_table cpu_ids[] __initdata = {
.idmask = EXYNOS4_CPU_MASK, .idmask = EXYNOS4_CPU_MASK,
.map_io = exynos4_map_io, .map_io = exynos4_map_io,
.init_clocks = exynos4_init_clocks, .init_clocks = exynos4_init_clocks,
.init_uarts = exynos4_init_uarts, .init_uarts = exynos_init_uarts,
.init = exynos_init, .init = exynos_init,
.name = name_exynos4210, .name = name_exynos4210,
}, { }, {
...@@ -69,7 +69,7 @@ static struct cpu_table cpu_ids[] __initdata = { ...@@ -69,7 +69,7 @@ static struct cpu_table cpu_ids[] __initdata = {
.idmask = EXYNOS4_CPU_MASK, .idmask = EXYNOS4_CPU_MASK,
.map_io = exynos4_map_io, .map_io = exynos4_map_io,
.init_clocks = exynos4_init_clocks, .init_clocks = exynos4_init_clocks,
.init_uarts = exynos4_init_uarts, .init_uarts = exynos_init_uarts,
.init = exynos_init, .init = exynos_init,
.name = name_exynos4212, .name = name_exynos4212,
}, { }, {
...@@ -77,7 +77,7 @@ static struct cpu_table cpu_ids[] __initdata = { ...@@ -77,7 +77,7 @@ static struct cpu_table cpu_ids[] __initdata = {
.idmask = EXYNOS4_CPU_MASK, .idmask = EXYNOS4_CPU_MASK,
.map_io = exynos4_map_io, .map_io = exynos4_map_io,
.init_clocks = exynos4_init_clocks, .init_clocks = exynos4_init_clocks,
.init_uarts = exynos4_init_uarts, .init_uarts = exynos_init_uarts,
.init = exynos_init, .init = exynos_init,
.name = name_exynos4412, .name = name_exynos4412,
}, },
...@@ -469,7 +469,7 @@ static int __init exynos_init(void) ...@@ -469,7 +469,7 @@ static int __init exynos_init(void)
/* uart registration process */ /* uart registration process */
static void __init exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no) static void __init exynos_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{ {
struct s3c2410_uartcfg *tcfg = cfg; struct s3c2410_uartcfg *tcfg = cfg;
u32 ucnt; u32 ucnt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment