This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / arm / mach-integrator / integrator_ap.c
index ad66771..b07e39d 100644 (file)
@@ -40,9 +40,7 @@
 #include <asm/mach/flash.h>
 #include <asm/mach/irq.h>
 #include <asm/mach/map.h>
-#include <asm/mach/time.h>
 
-#include "common.h"
 
 /* 
  * All IO addresses are mapped onto VA 0xFFFx.xxxx, where x.xxxx
@@ -283,22 +281,17 @@ static void __init ap_init(void)
        }
 }
 
-static void __init ap_init_timer(void)
+static void ap_time_init(void)
 {
        integrator_time_init(1000000 * TICKS_PER_uSEC / HZ, 0);
 }
 
-static struct sys_timer ap_timer = {
-       .init           = ap_init_timer,
-       .offset         = integrator_gettimeoffset,
-};
-
 MACHINE_START(INTEGRATOR, "ARM-Integrator")
        MAINTAINER("ARM Ltd/Deep Blue Solutions Ltd")
        BOOT_MEM(0x00000000, 0x16000000, 0xf1600000)
        BOOT_PARAMS(0x00000100)
        MAPIO(ap_map_io)
        INITIRQ(ap_init_irq)
-       .timer          = &ap_timer,
+       INITTIME(ap_time_init)
        INIT_MACHINE(ap_init)
 MACHINE_END