diff options
-rw-r--r-- | include/linux/pmu.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/pmu.h b/include/linux/pmu.h index b02b57c0fba0..cafe98d96948 100644 --- a/include/linux/pmu.h +++ b/include/linux/pmu.h | |||
@@ -147,8 +147,15 @@ extern void pmu_wait_complete(struct adb_request *req); | |||
147 | /* For use before switching interrupts off for a long time; | 147 | /* For use before switching interrupts off for a long time; |
148 | * warning: not stackable | 148 | * warning: not stackable |
149 | */ | 149 | */ |
150 | #if defined(CONFIG_ADB_PMU) | ||
150 | extern void pmu_suspend(void); | 151 | extern void pmu_suspend(void); |
151 | extern void pmu_resume(void); | 152 | extern void pmu_resume(void); |
153 | #else | ||
154 | static inline void pmu_suspend(void) | ||
155 | {} | ||
156 | static inline void pmu_resume(void) | ||
157 | {} | ||
158 | #endif | ||
152 | 159 | ||
153 | extern void pmu_enable_irled(int on); | 160 | extern void pmu_enable_irled(int on); |
154 | 161 | ||