summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/cpu-tegra.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/cpu-tegra.h b/arch/arm/mach-tegra/cpu-tegra.h
index 9a1c05d27ff6..a89ccd32d463 100644
--- a/arch/arm/mach-tegra/cpu-tegra.h
+++ b/arch/arm/mach-tegra/cpu-tegra.h
@@ -48,7 +48,8 @@ static inline unsigned int tegra_throttle_governor_speed(
static inline int tegra_throttle_debug_init(
struct dentry *cpu_tegra_debugfs_root)
{ return 0; }
-#define tegra_throttling_enable NULL
+static inline void tegra_throttling_enable(bool enable)
+{}
#endif /* CONFIG_TEGRA_THERMAL_THROTTLE */
#if defined(CONFIG_TEGRA_AUTO_HOTPLUG) && !defined(CONFIG_ARCH_TEGRA_2x_SOC)