hc
2025-02-14 bbb9540dc49f70f6b703d1c8d1b85fa5f602d86e
kernel/include/linux/wakeup_reason.h
....@@ -20,7 +20,7 @@
2020
2121 #define MAX_SUSPEND_ABORT_LEN 256
2222
23
-#ifdef CONFIG_SUSPEND
23
+#if IS_ENABLED(CONFIG_SUSPEND) && !IS_ENABLED(CONFIG_DOVETAIL)
2424 void log_irq_wakeup_reason(int irq);
2525 void log_threaded_irq_wakeup_reason(int irq, int parent_irq);
2626 void log_suspend_abort_reason(const char *fmt, ...);