]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/arm/mach-integrator/core.c
ARM: Fix Versatile&Integrator includes to behave in the same way as Realview
[net-next-2.6.git] / arch / arm / mach-integrator / core.c
index a0f60e55da6a8a2bb7c1cf05fc6bd889e605721f..096f899625f88a258e83f253025aa0b9c4e61292 100644 (file)
@@ -24,6 +24,7 @@
 #include <asm/clkdev.h>
 #include <mach/clkdev.h>
 #include <mach/hardware.h>
+#include <mach/platform.h>
 #include <asm/irq.h>
 #include <asm/hardware/arm_timer.h>
 #include <mach/cm.h>
@@ -144,8 +145,7 @@ static int __init integrator_init(void)
 {
        int i;
 
-       for (i = 0; i < ARRAY_SIZE(lookups); i++)
-               clkdev_add(&lookups[i]);
+       clkdev_add_table(lookups, ARRAY_SIZE(lookups));
 
        for (i = 0; i < ARRAY_SIZE(amba_devs); i++) {
                struct amba_device *d = amba_devs[i];