summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/cpu-tegra.c
diff options
context:
space:
mode:
authorKrishna Sitaraman <ksitaraman@nvidia.com>2014-01-02 11:07:52 -0800
committerTom Cherry <tcherry@nvidia.com>2014-01-22 16:02:44 -0800
commit1a7cf9cca088c0da3c8fc866c66ac378a2a8c2e3 (patch)
tree0595204e3b58f22b5f882809cc284863a429e9de /arch/arm/mach-tegra/cpu-tegra.c
parent8e7a6d27d8c0ddfca20ade5eb535f440dd52ccc9 (diff)
ARM: Tegra: T132: Fix compile warnings
Fix compile warnings when CONFIG_TEGRA_THERMAL_THROTTLE is not defined. Change-Id: I209f0eb25cea8d49980a1c76ddfcd6ec95aa187b Signed-off-by: Krishna Sitaraman <ksitaraman@nvidia.com> Reviewed-on: http://git-master/r/351452 Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/cpu-tegra.c')
-rw-r--r--arch/arm/mach-tegra/cpu-tegra.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/cpu-tegra.c b/arch/arm/mach-tegra/cpu-tegra.c
index ca1f2710fddf..2d126b9e7c0a 100644
--- a/arch/arm/mach-tegra/cpu-tegra.c
+++ b/arch/arm/mach-tegra/cpu-tegra.c
@@ -180,15 +180,15 @@ static struct attribute_group stats_attr_grp = {
#endif /* CONFIG_TEGRA_THERMAL_THROTTLE */
+static const struct tegra_edp_limits *cpu_reg_idle_limits;
+static unsigned int reg_mode;
+static bool reg_mode_force_normal;
+
#ifdef CONFIG_TEGRA_EDP_LIMITS
static const struct tegra_edp_limits *cpu_edp_limits;
static int cpu_edp_limits_size;
-static const struct tegra_edp_limits *cpu_reg_idle_limits;
-static unsigned int reg_mode;
-static bool reg_mode_force_normal;
-
static const unsigned int *system_edp_limits;
static bool system_edp_alarm;
@@ -562,7 +562,6 @@ static int __init tegra_edp_debug_init(struct dentry *cpu_tegra_debugfs_root)
#define tegra_cpu_edp_exit()
#define tegra_edp_debug_init(cpu_tegra_debugfs_root) (0)
#define cpu_reg_mode_predict_idle_limit() (0)
-static unsigned int reg_mode;
#endif /* CONFIG_TEGRA_EDP_LIMITS */
#ifdef CONFIG_DEBUG_FS