vserver 1.9.5.x5
[linux-2.6.git] / arch / arm / mach-clps711x / autcpu12.c
index e8a4d99..c106704 100644 (file)
@@ -35,9 +35,7 @@
 #include <asm/mach/map.h>
 #include <asm/arch/autcpu12.h>
 
-extern void clps711x_map_io(void);
-extern void clps711x_init_irq(void);
-extern void clps711x_init_time(void);
+#include "common.h"
 
 /*
  * The on-chip registers are given a size of 1MB so that a section can
@@ -66,6 +64,6 @@ MACHINE_START(AUTCPU12, "autronix autcpu12")
        BOOT_PARAMS(0xc0020000)
        MAPIO(autcpu12_map_io)
        INITIRQ(clps711x_init_irq)
-       INITTIME(clps711x_init_time)
+       .timer          = &clps711x_timer,
 MACHINE_END