diff options
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/tegra/clk.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/clk/tegra/clk.c b/drivers/clk/tegra/clk.c index 97dc8595c3cd..9ddb7547cb43 100644 --- a/drivers/clk/tegra/clk.c +++ b/drivers/clk/tegra/clk.c | |||
@@ -302,10 +302,13 @@ struct clk ** __init tegra_lookup_dt_id(int clk_id, | |||
302 | 302 | ||
303 | tegra_clk_apply_init_table_func tegra_clk_apply_init_table; | 303 | tegra_clk_apply_init_table_func tegra_clk_apply_init_table; |
304 | 304 | ||
305 | void __init tegra_clocks_apply_init_table(void) | 305 | static int __init tegra_clocks_apply_init_table(void) |
306 | { | 306 | { |
307 | if (!tegra_clk_apply_init_table) | 307 | if (!tegra_clk_apply_init_table) |
308 | return; | 308 | return 0; |
309 | 309 | ||
310 | tegra_clk_apply_init_table(); | 310 | tegra_clk_apply_init_table(); |
311 | |||
312 | return 0; | ||
311 | } | 313 | } |
314 | arch_initcall(tegra_clocks_apply_init_table); | ||