diff options
author | Thomas Abraham <thomas.abraham@linaro.org> | 2011-10-24 05:47:51 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-12-22 20:06:57 -0500 |
commit | afba7f91e64025748a2cfec181e5a910fd0dee0e (patch) | |
tree | 37872a38eea179a6adb9eacbd5334b4352043413 /arch/arm/mach-s5pv210 | |
parent | 5f5a7a5578c5885201cf9c85856f023fe8b81765 (diff) |
ARM: SAMSUNG: remove struct 's3c24xx_uart_clksrc' and all uses of it
With clkdev based clock lookup added to samsung serial driver, the use
of 'struct s3c24xx_uart_clksrc' to supply clock names in platform
data is removed from all the Samsung platform code.
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Ramax Lo <ramaxlo@gmail.com>
Cc: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210')
-rw-r--r-- | arch/arm/mach-s5pv210/init.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-s5pv210/init.c b/arch/arm/mach-s5pv210/init.c index 4865ae2c475a..468a5f886193 100644 --- a/arch/arm/mach-s5pv210/init.c +++ b/arch/arm/mach-s5pv210/init.c | |||
@@ -18,27 +18,8 @@ | |||
18 | #include <plat/s5pv210.h> | 18 | #include <plat/s5pv210.h> |
19 | #include <plat/regs-serial.h> | 19 | #include <plat/regs-serial.h> |
20 | 20 | ||
21 | static struct s3c24xx_uart_clksrc s5pv210_serial_clocks[] = { | ||
22 | [0] = { | ||
23 | .name = "pclk", | ||
24 | .divisor = 1, | ||
25 | .min_baud = 0, | ||
26 | .max_baud = 0, | ||
27 | }, | ||
28 | }; | ||
29 | |||
30 | /* uart registration process */ | 21 | /* uart registration process */ |
31 | void __init s5pv210_common_init_uarts(struct s3c2410_uartcfg *cfg, int no) | 22 | void __init s5pv210_common_init_uarts(struct s3c2410_uartcfg *cfg, int no) |
32 | { | 23 | { |
33 | struct s3c2410_uartcfg *tcfg = cfg; | ||
34 | u32 ucnt; | ||
35 | |||
36 | for (ucnt = 0; ucnt < no; ucnt++, tcfg++) { | ||
37 | if (!tcfg->clocks) { | ||
38 | tcfg->clocks = s5pv210_serial_clocks; | ||
39 | tcfg->clocks_size = ARRAY_SIZE(s5pv210_serial_clocks); | ||
40 | } | ||
41 | } | ||
42 | |||
43 | s3c24xx_init_uartdevs("s5pv210-uart", s5p_uart_resources, cfg, no); | 24 | s3c24xx_init_uartdevs("s5pv210-uart", s5p_uart_resources, cfg, no); |
44 | } | 25 | } |