diff options
Diffstat (limited to 'arch/arm/mach-s5pv210/common.c')
-rw-r--r-- | arch/arm/mach-s5pv210/common.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-s5pv210/common.c b/arch/arm/mach-s5pv210/common.c index 0ec393305d7c..9c1bcdcc12c3 100644 --- a/arch/arm/mach-s5pv210/common.c +++ b/arch/arm/mach-s5pv210/common.c | |||
@@ -254,28 +254,9 @@ int __init s5pv210_init(void) | |||
254 | return device_register(&s5pv210_dev); | 254 | return device_register(&s5pv210_dev); |
255 | } | 255 | } |
256 | 256 | ||
257 | static struct s3c24xx_uart_clksrc s5pv210_serial_clocks[] = { | ||
258 | [0] = { | ||
259 | .name = "pclk", | ||
260 | .divisor = 1, | ||
261 | .min_baud = 0, | ||
262 | .max_baud = 0, | ||
263 | }, | ||
264 | }; | ||
265 | |||
266 | /* uart registration process */ | 257 | /* uart registration process */ |
267 | 258 | ||
268 | void __init s5pv210_init_uarts(struct s3c2410_uartcfg *cfg, int no) | 259 | void __init s5pv210_init_uarts(struct s3c2410_uartcfg *cfg, int no) |
269 | { | 260 | { |
270 | struct s3c2410_uartcfg *tcfg = cfg; | ||
271 | u32 ucnt; | ||
272 | |||
273 | for (ucnt = 0; ucnt < no; ucnt++, tcfg++) { | ||
274 | if (!tcfg->clocks) { | ||
275 | tcfg->clocks = s5pv210_serial_clocks; | ||
276 | tcfg->clocks_size = ARRAY_SIZE(s5pv210_serial_clocks); | ||
277 | } | ||
278 | } | ||
279 | |||
280 | s3c24xx_init_uartdevs("s5pv210-uart", s5p_uart_resources, cfg, no); | 261 | s3c24xx_init_uartdevs("s5pv210-uart", s5p_uart_resources, cfg, no); |
281 | } | 262 | } |