]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/pmu.h
Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
[karo-tx-linux.git] / include / linux / pmu.h
index b02b57c0fba0bc61bdc127f6006c9158e7deff9a..cafe98d969480dff52bd1e32887319f771627a3b 100644 (file)
@@ -147,8 +147,15 @@ extern void pmu_wait_complete(struct adb_request *req);
 /* For use before switching interrupts off for a long time;
  * warning: not stackable
  */
+#if defined(CONFIG_ADB_PMU)
 extern void pmu_suspend(void);
 extern void pmu_resume(void);
+#else
+static inline void pmu_suspend(void)
+{}
+static inline void pmu_resume(void)
+{}
+#endif
 
 extern void pmu_enable_irled(int on);