projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[CPUFREQ] use an enum for speedstep processor identification
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
arch
/
x86
/
kernel
/
cpu
/
cpufreq
/
speedstep-smi.c
diff --git
a/arch/x86/kernel/cpu/cpufreq/speedstep-smi.c
b/arch/x86/kernel/cpu/cpufreq/speedstep-smi.c
index befea088e4f58b472259f955a8304e5c834e083f..04d73c114e4944d4bcceaa577c82b8f9545a9a53 100644
(file)
--- a/
arch/x86/kernel/cpu/cpufreq/speedstep-smi.c
+++ b/
arch/x86/kernel/cpu/cpufreq/speedstep-smi.c
@@
-35,7
+35,7
@@
static int smi_cmd;
static unsigned int smi_sig;
/* info about the processor */
-static
unsigned int
speedstep_processor;
+static
enum speedstep_processor
speedstep_processor;
/*
* There are only two frequency states for each processor. Values