ARM: S3C24XX: convert s3c2410 to common clock framework
[deliverable/linux.git] / arch / arm / mach-s3c24xx / mach-tct_hammer.c
index 4108b2f0cede26e0b22fb9c18b16e5688c27978a..c616ca2d409e9316755b4ae92065e8379fa24349 100644 (file)
@@ -135,11 +135,16 @@ static struct platform_device *tct_hammer_devices[] __initdata = {
 static void __init tct_hammer_map_io(void)
 {
        s3c24xx_init_io(tct_hammer_iodesc, ARRAY_SIZE(tct_hammer_iodesc));
-       s3c24xx_init_clocks(0);
        s3c24xx_init_uarts(tct_hammer_uartcfgs, ARRAY_SIZE(tct_hammer_uartcfgs));
        samsung_set_timer_source(SAMSUNG_PWM3, SAMSUNG_PWM4);
 }
 
+static void __init tct_hammer_init_time(void)
+{
+       s3c2410_init_clocks(12000000);
+       samsung_timer_init();
+}
+
 static void __init tct_hammer_init(void)
 {
        s3c_i2c0_set_platdata(NULL);
@@ -151,6 +156,6 @@ MACHINE_START(TCT_HAMMER, "TCT_HAMMER")
        .map_io         = tct_hammer_map_io,
        .init_irq       = s3c2410_init_irq,
        .init_machine   = tct_hammer_init,
-       .init_time      = samsung_timer_init,
+       .init_time      = tct_hammer_init_time,
        .restart        = s3c2410_restart,
 MACHINE_END
This page took 0.024001 seconds and 5 git commands to generate.