diff options
Diffstat (limited to 'kernel/arch/sh/kernel/cpu/sh4a/clock-sh7734.c')
-rw-r--r-- | kernel/arch/sh/kernel/cpu/sh4a/clock-sh7734.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/arch/sh/kernel/cpu/sh4a/clock-sh7734.c b/kernel/arch/sh/kernel/cpu/sh4a/clock-sh7734.c index 1fdf1ee67..7f54bf2f4 100644 --- a/kernel/arch/sh/kernel/cpu/sh4a/clock-sh7734.c +++ b/kernel/arch/sh/kernel/cpu/sh4a/clock-sh7734.c @@ -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), |