aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/pmc.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-08-20 15:47:38 -0600
committerStephen Warren <swarren@nvidia.com>2013-09-17 13:44:21 -0600
commit51100bdc067706624f0ffe285e63a6099336e11a (patch)
treef70ecaf8beced713834dc492badea9ae2384b7ec /arch/arm/mach-tegra/pmc.h
parentd2207071b3c74b144a860cbe6a46496a44963972 (diff)
ARM: tegra: remove common.c
common.c was create to contain code shared across the various Tegra board files. There is now only one board file, tegra.c. So, move the code there. One exception is the PMC reboot routine, which moves to pmc.c, and now takes advantage of the 'standard' tegra_pmc_readl/writel functions. Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/pmc.h')
-rw-r--r--arch/arm/mach-tegra/pmc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pmc.h b/arch/arm/mach-tegra/pmc.h
index 4d5f8f32225c..59e19c344298 100644
--- a/arch/arm/mach-tegra/pmc.h
+++ b/arch/arm/mach-tegra/pmc.h
@@ -18,6 +18,8 @@
#ifndef __MACH_TEGRA_PMC_H
#define __MACH_TEGRA_PMC_H
+#include <linux/reboot.h>
+
enum tegra_suspend_mode {
TEGRA_SUSPEND_NONE = 0,
TEGRA_SUSPEND_LP2, /* CPU voltage off */
@@ -39,6 +41,8 @@ bool tegra_pmc_cpu_is_powered(int cpuid);
int tegra_pmc_cpu_power_on(int cpuid);
int tegra_pmc_cpu_remove_clamping(int cpuid);
+void tegra_pmc_restart(enum reboot_mode mode, const char *cmd);
+
void tegra_pmc_init_irq(void);
void tegra_pmc_init(void);