projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
intel_pstate: constify local structures
[cascardo/linux.git]
/
drivers
/
cpufreq
/
intel_pstate.c
diff --git
a/drivers/cpufreq/intel_pstate.c
b/drivers/cpufreq/intel_pstate.c
index
be9eade
..
5095b89
100644
(file)
--- a/
drivers/cpufreq/intel_pstate.c
+++ b/
drivers/cpufreq/intel_pstate.c
@@
-1029,7
+1029,7
@@
static struct cpu_defaults core_params = {
},
};
},
};
-static struct cpu_defaults silvermont_params = {
+static
const
struct cpu_defaults silvermont_params = {
.pid_policy = {
.sample_rate_ms = 10,
.deadband = 0,
.pid_policy = {
.sample_rate_ms = 10,
.deadband = 0,
@@
-1050,7
+1050,7
@@
static struct cpu_defaults silvermont_params = {
},
};
},
};
-static struct cpu_defaults airmont_params = {
+static
const
struct cpu_defaults airmont_params = {
.pid_policy = {
.sample_rate_ms = 10,
.deadband = 0,
.pid_policy = {
.sample_rate_ms = 10,
.deadband = 0,
@@
-1071,7
+1071,7
@@
static struct cpu_defaults airmont_params = {
},
};
},
};
-static struct cpu_defaults knl_params = {
+static
const
struct cpu_defaults knl_params = {
.pid_policy = {
.sample_rate_ms = 10,
.deadband = 0,
.pid_policy = {
.sample_rate_ms = 10,
.deadband = 0,
@@
-1091,7
+1091,7
@@
static struct cpu_defaults knl_params = {
},
};
},
};
-static struct cpu_defaults bxt_params = {
+static
const
struct cpu_defaults bxt_params = {
.pid_policy = {
.sample_rate_ms = 10,
.deadband = 0,
.pid_policy = {
.sample_rate_ms = 10,
.deadband = 0,