[PATCH] PM: make it possible to disable console suspending
[deliverable/linux.git] / include / linux / console.h
index 3bdf2155e565ce1a1e4d2cdeb5b7bbfa03ff3de9..76a1807726eb0fb24b668995eb3bd5388c3e1013 100644 (file)
@@ -120,9 +120,14 @@ extern void console_stop(struct console *);
 extern void console_start(struct console *);
 extern int is_console_locked(void);
 
+#ifndef CONFIG_DISABLE_CONSOLE_SUSPEND
 /* Suspend and resume console messages over PM events */
 extern void suspend_console(void);
 extern void resume_console(void);
+#else
+static inline void suspend_console(void) {}
+static inline void resume_console(void) {}
+#endif /* CONFIG_DISABLE_CONSOLE_SUSPEND */
 
 /* Some debug stub to catch some of the obvious races in the VT code */
 #if 1
This page took 0.026134 seconds and 5 git commands to generate.