projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f71a88
)
ARM: tegra: pm: Add tegra_cpu_do_idle() prototype
author
Thierry Reding
<treding@nvidia.com>
Thu, 28 Apr 2016 12:55:15 +0000
(14:55 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Fri, 10 Jun 2016 14:18:01 +0000
(16:18 +0200)
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>
arch/arm/mach-tegra/pm.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-tegra/pm.h
b/arch/arm/mach-tegra/pm.h
index 83bc875834464bbde39b304c87348b3b9b3ea400..717b48f22912b4f9a4860d11e8b3fd0d235b7ff4 100644
(file)
--- 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);