Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfa57fd9 authored by Mathias Krause's avatar Mathias Krause Committed by Matthew Garrett
Browse files

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: default avatarMathias Krause <minipli@googlemail.com>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent c3aa4723
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -269,7 +269,7 @@ struct ips_mcp_limits {

/* Max temps are -10 degrees C to avoid PROCHOT# */

struct ips_mcp_limits ips_sv_limits = {
static struct ips_mcp_limits ips_sv_limits = {
	.mcp_power_limit = 35000,
	.core_power_limit = 29000,
	.mch_power_limit = 20000,
@@ -277,7 +277,7 @@ struct ips_mcp_limits ips_sv_limits = {
	.mch_temp_limit = 90
};

struct ips_mcp_limits ips_lv_limits = {
static struct ips_mcp_limits ips_lv_limits = {
	.mcp_power_limit = 25000,
	.core_power_limit = 21000,
	.mch_power_limit = 13000,
@@ -285,7 +285,7 @@ struct ips_mcp_limits ips_lv_limits = {
	.mch_temp_limit = 90
};

struct ips_mcp_limits ips_ulv_limits = {
static struct ips_mcp_limits ips_ulv_limits = {
	.mcp_power_limit = 18000,
	.core_power_limit = 14000,
	.mch_power_limit = 11000,