Commit 6eafb008 authored by Russell King's avatar Russell King

[ARM] Fix CPUFREQ initialisation oops

The CPUFREQ initialisation now registers an interface with the device
model, and thus needs to initialise after postcore.  We use the
arch level for this.  This does, however, impose the restriction
that cpufreq may not be available for other architecture
initialisated code.
parent fe8cbc2a
...@@ -228,4 +228,4 @@ static int __init integrator_cpu_init(void) ...@@ -228,4 +228,4 @@ static int __init integrator_cpu_init(void)
return 0; return 0;
} }
core_initcall(integrator_cpu_init); arch_initcall(integrator_cpu_init);
...@@ -232,4 +232,4 @@ static int __init sa1100_dram_init(void) ...@@ -232,4 +232,4 @@ static int __init sa1100_dram_init(void)
return ret; return ret;
} }
core_initcall(sa1100_dram_init); arch_initcall(sa1100_dram_init);
...@@ -345,4 +345,4 @@ static int __init sa1110_clk_init(void) ...@@ -345,4 +345,4 @@ static int __init sa1110_clk_init(void)
return 0; return 0;
} }
core_initcall(sa1110_clk_init); arch_initcall(sa1110_clk_init);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment