summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2016-04-28 14:55:15 +0200
committerThierry Reding <treding@nvidia.com>2016-06-10 16:18:01 +0200
commitfa45caf2ee319fc8cb6ba5c7e6ff8cb36efc0d1a (patch)
tree67d95ee1c08fa8026331a9b54d5e9d8412d69425 /arch/arm/mach-tegra
parent4f71a888c5612c70e9000403e0c6440dc3088640 (diff)
downloadlinux-fa45caf2ee319fc8cb6ba5c7e6ff8cb36efc0d1a.tar.bz2
ARM: tegra: pm: Add tegra_cpu_do_idle() prototype
When building with W=1 this function is flagged as not having a prototype defined. Add the prototype to avoid a build warning. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/pm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/pm.h b/arch/arm/mach-tegra/pm.h
index 83bc87583446..717b48f22912 100644
--- a/arch/arm/mach-tegra/pm.h
+++ b/arch/arm/mach-tegra/pm.h
@@ -36,7 +36,7 @@ void tegra30_sleep_core_init(void);
void tegra_clear_cpu_in_lp2(void);
bool tegra_set_cpu_in_lp2(void);
-
+int tegra_cpu_do_idle(void);
void tegra_idle_lp2_last(void);
extern void (*tegra_tear_down_cpu)(void);