From: Catalin Marinas Date: Fri, 8 Feb 2013 12:18:15 +0000 (+0000) Subject: arm64: Initialise the clocks described via DT X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=de79a64d61ed3f7ccec9f9661fab2f3e97256243;p=openwrt%2Fstaging%2Fblogic.git arm64: Initialise the clocks described via DT This patch adds an arch_initcall() for the of_clk_init() clock initialisation. Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 113db863f832..9c023d714f44 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -277,6 +278,13 @@ void __init setup_arch(char **cmdline_p) #endif } +static int __init arm64_of_clk_init(void) +{ + of_clk_init(NULL); + return 0; +} +arch_initcall(arm64_of_clk_init); + static DEFINE_PER_CPU(struct cpu, cpu_data); static int __init topology_init(void)