diff options
Diffstat (limited to 'arch/arm/mach-tegra/pm.h')
-rw-r--r-- | arch/arm/mach-tegra/pm.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm/mach-tegra/pm.h b/arch/arm/mach-tegra/pm.h index f4a89698e5b0..83bc87583446 100644 --- a/arch/arm/mach-tegra/pm.h +++ b/arch/arm/mach-tegra/pm.h | |||
@@ -21,12 +21,11 @@ | |||
21 | #ifndef _MACH_TEGRA_PM_H_ | 21 | #ifndef _MACH_TEGRA_PM_H_ |
22 | #define _MACH_TEGRA_PM_H_ | 22 | #define _MACH_TEGRA_PM_H_ |
23 | 23 | ||
24 | #include "pmc.h" | ||
25 | |||
26 | struct tegra_lp1_iram { | 24 | struct tegra_lp1_iram { |
27 | void *start_addr; | 25 | void *start_addr; |
28 | void *end_addr; | 26 | void *end_addr; |
29 | }; | 27 | }; |
28 | |||
30 | extern struct tegra_lp1_iram tegra_lp1_iram; | 29 | extern struct tegra_lp1_iram tegra_lp1_iram; |
31 | extern void (*tegra_sleep_core_finish)(unsigned long v2p); | 30 | extern void (*tegra_sleep_core_finish)(unsigned long v2p); |
32 | 31 | ||
@@ -42,15 +41,8 @@ void tegra_idle_lp2_last(void); | |||
42 | extern void (*tegra_tear_down_cpu)(void); | 41 | extern void (*tegra_tear_down_cpu)(void); |
43 | 42 | ||
44 | #ifdef CONFIG_PM_SLEEP | 43 | #ifdef CONFIG_PM_SLEEP |
45 | enum tegra_suspend_mode tegra_pm_validate_suspend_mode( | ||
46 | enum tegra_suspend_mode mode); | ||
47 | void tegra_init_suspend(void); | 44 | void tegra_init_suspend(void); |
48 | #else | 45 | #else |
49 | static inline enum tegra_suspend_mode tegra_pm_validate_suspend_mode( | ||
50 | enum tegra_suspend_mode mode) | ||
51 | { | ||
52 | return TEGRA_SUSPEND_NONE; | ||
53 | } | ||
54 | static inline void tegra_init_suspend(void) {} | 46 | static inline void tegra_init_suspend(void) {} |
55 | #endif | 47 | #endif |
56 | 48 | ||