diff options
author | Mathias Krause <minipli@googlemail.com> | 2014-07-16 13:43:16 -0400 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2014-08-16 04:23:53 -0400 |
commit | cfa57fd9e1b5b81c45fb4295639baa9ff1fb9d26 (patch) | |
tree | 016a4376111d558030dd0bc008a9892aabc31124 /drivers/platform/x86/intel_ips.c | |
parent | c3aa47239d9877a938ed59d3acae01f84ae6c943 (diff) |
intel_ips: Make ips_mcp_limits variables static
These variables don't need to be visible outside of this compilation
unit, make them static.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'drivers/platform/x86/intel_ips.c')
-rw-r--r-- | drivers/platform/x86/intel_ips.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index a0d1f576cf40..c0242ed13d9e 100644 --- a/drivers/platform/x86/intel_ips.c +++ b/drivers/platform/x86/intel_ips.c | |||
@@ -269,7 +269,7 @@ struct ips_mcp_limits { | |||
269 | 269 | ||
270 | /* Max temps are -10 degrees C to avoid PROCHOT# */ | 270 | /* Max temps are -10 degrees C to avoid PROCHOT# */ |
271 | 271 | ||
272 | struct ips_mcp_limits ips_sv_limits = { | 272 | static struct ips_mcp_limits ips_sv_limits = { |
273 | .mcp_power_limit = 35000, | 273 | .mcp_power_limit = 35000, |
274 | .core_power_limit = 29000, | 274 | .core_power_limit = 29000, |
275 | .mch_power_limit = 20000, | 275 | .mch_power_limit = 20000, |
@@ -277,7 +277,7 @@ struct ips_mcp_limits ips_sv_limits = { | |||
277 | .mch_temp_limit = 90 | 277 | .mch_temp_limit = 90 |
278 | }; | 278 | }; |
279 | 279 | ||
280 | struct ips_mcp_limits ips_lv_limits = { | 280 | static struct ips_mcp_limits ips_lv_limits = { |
281 | .mcp_power_limit = 25000, | 281 | .mcp_power_limit = 25000, |
282 | .core_power_limit = 21000, | 282 | .core_power_limit = 21000, |
283 | .mch_power_limit = 13000, | 283 | .mch_power_limit = 13000, |
@@ -285,7 +285,7 @@ struct ips_mcp_limits ips_lv_limits = { | |||
285 | .mch_temp_limit = 90 | 285 | .mch_temp_limit = 90 |
286 | }; | 286 | }; |
287 | 287 | ||
288 | struct ips_mcp_limits ips_ulv_limits = { | 288 | static struct ips_mcp_limits ips_ulv_limits = { |
289 | .mcp_power_limit = 18000, | 289 | .mcp_power_limit = 18000, |
290 | .core_power_limit = 14000, | 290 | .core_power_limit = 14000, |
291 | .mch_power_limit = 11000, | 291 | .mch_power_limit = 11000, |