]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/arm/mach-mx3/clock-imx31.c
Merge branch 'origin' into devel-stable
[net-next-2.6.git] / arch / arm / mach-mx3 / clock-imx31.c
index d22a66f502a86a30c512f4c0a6d0190a8674e1d0..80dba9966b5e54a1f3d40bd5fbe82b3071b13772 100644 (file)
@@ -578,12 +578,10 @@ static struct clk_lookup lookups[] = {
 int __init mx31_clocks_init(unsigned long fref)
 {
        u32 reg;
-       int i;
 
        ckih_rate = fref;
 
-       for (i = 0; i < ARRAY_SIZE(lookups); i++)
-               clkdev_add(&lookups[i]);
+       clkdev_add_table(lookups, ARRAY_SIZE(lookups));
 
        /* change the csi_clk parent if necessary */
        reg = __raw_readl(MXC_CCM_CCMR);