diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-08-20 23:47:38 +0200 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-09-17 21:44:21 +0200 |
commit | 51100bdc067706624f0ffe285e63a6099336e11a (patch) | |
tree | f70ecaf8beced713834dc492badea9ae2384b7ec /arch/arm/mach-tegra/pmc.h | |
parent | ARM: tegra: split tegra_pmc_init() in two (diff) | |
download | linux-51100bdc067706624f0ffe285e63a6099336e11a.tar.xz linux-51100bdc067706624f0ffe285e63a6099336e11a.zip |
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.h | 4 |
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); |