• Dave Jones's avatar
    [CPUFREQ] Fix cpufreq on ARM · f59d3bbe
    Dave Jones authored
    cpufreq doesn't appear to initialise on ARM - cpufreq_register_driver()
    fails with -ENODEV.
    
    This appears to be because we register cpus at subsys_initcall() time,
    and cpufreq drivers at arch_initcall() time.  We need cpufreq up and
    running before any drivers are initialised since their timings depend
    on the CPU clock rate.
    
    The following patch appears to fix these problems.
    
    From: Russell King
    Signed-off-by: default avatarDave Jones <davej@redhat.com>
    f59d3bbe
cpu-sa1110.c 8.74 KB