hc
2024-11-01 a01b5c9f91adaee088a817861603a5dbe14775c2
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, ...);