These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / sh / kernel / cpu / sh4a / clock-sh7734.c
index 1fdf1ee..7f54bf2 100644 (file)
@@ -246,8 +246,7 @@ int __init arch_clk_init(void)
        for (i = 0; i < ARRAY_SIZE(main_clks); i++)
                ret |= clk_register(main_clks[i]);
 
-       for (i = 0; i < ARRAY_SIZE(lookups); i++)
-               clkdev_add(&lookups[i]);
+       clkdev_add_table(lookups, ARRAY_SIZE(lookups));
 
        if (!ret)
                ret = sh_clk_div4_register(div4_clks, ARRAY_SIZE(div4_clks),