Commit 8a97c425 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] fix signed comparison warnings for longhaul

parent 4e2b03cd
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#define dprintk(msg...) do { } while(0); #define dprintk(msg...) do { } while(0);
#endif #endif
static int numscales=16, numvscales; static unsigned int numscales=16, numvscales;
static int minvid, maxvid; static int minvid, maxvid;
static int can_scale_voltage; static int can_scale_voltage;
static int can_scale_fsb; static int can_scale_fsb;
...@@ -51,7 +51,7 @@ static int vrmrev; ...@@ -51,7 +51,7 @@ static int vrmrev;
static int prefer_slow_fsb; static int prefer_slow_fsb;
static int dont_scale_voltage; static int dont_scale_voltage;
static int dont_scale_fsb; static int dont_scale_fsb;
static int current_fsb; static unsigned int current_fsb;
#define __hlt() __asm__ __volatile__("hlt": : :"memory") #define __hlt() __asm__ __volatile__("hlt": : :"memory")
...@@ -258,7 +258,7 @@ static int __initdata mobilevrmscales[32] = { ...@@ -258,7 +258,7 @@ static int __initdata mobilevrmscales[32] = {
static int clock_ratio[32]; static int clock_ratio[32];
static int eblcr_table[32]; static int eblcr_table[32];
static int voltage_table[32]; static int voltage_table[32];
static int highest_speed, lowest_speed; /* kHz */ static unsigned int highest_speed, lowest_speed; /* kHz */
static int longhaul; /* version. */ static int longhaul; /* version. */
static struct cpufreq_frequency_table *longhaul_table; static struct cpufreq_frequency_table *longhaul_table;
......
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