FROMLIST: drm: add ARM vendor format afbc
[firefly-linux-kernel-4.4.55.git] / include / linux / wakeup_reason.h
index ad8b76936c7fb70e35f69e4e7327d41d0d7ac8ba..d84d8c301546bb14724ad858b209cebde035cd8d 100644 (file)
 #define MAX_SUSPEND_ABORT_LEN 256
 
 void log_wakeup_reason(int irq);
-void log_suspend_abort_reason(const char *fmt, ...);
 int check_wakeup_reason(int irq);
 
+#ifdef CONFIG_SUSPEND
+void log_suspend_abort_reason(const char *fmt, ...);
+#else
+static inline void log_suspend_abort_reason(const char *fmt, ...) { }
+#endif
+
 #endif /* _LINUX_WAKEUP_REASON_H */