Commit 9b16e7c8 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ] Add extra __init markers to longhaul driver.

Caught by Randy Dunlap.
longhaul_cpu_init only gets called during startup, and calls
other __init routines.
parent 4177292a
...@@ -186,6 +186,7 @@ static int _guess (int guess, int maxmult) ...@@ -186,6 +186,7 @@ static int _guess (int guess, int maxmult)
return target; return target;
} }
static int guess_fsb(int maxmult) static int guess_fsb(int maxmult)
{ {
int speed = (cpu_khz/1000); int speed = (cpu_khz/1000);
...@@ -203,7 +204,6 @@ static int guess_fsb(int maxmult) ...@@ -203,7 +204,6 @@ static int guess_fsb(int maxmult)
} }
static int __init longhaul_get_ranges (void) static int __init longhaul_get_ranges (void)
{ {
struct cpuinfo_x86 *c = cpu_data; struct cpuinfo_x86 *c = cpu_data;
...@@ -359,7 +359,7 @@ static int longhaul_target (struct cpufreq_policy *policy, ...@@ -359,7 +359,7 @@ static int longhaul_target (struct cpufreq_policy *policy,
return 0; return 0;
} }
static int longhaul_cpu_init (struct cpufreq_policy *policy) static int __init longhaul_cpu_init (struct cpufreq_policy *policy)
{ {
struct cpuinfo_x86 *c = cpu_data; struct cpuinfo_x86 *c = cpu_data;
char *cpuname=NULL; char *cpuname=NULL;
......
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