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