]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/suspend.h
printk: when dumping regs, show the stack, not thread_info
[karo-tx-linux.git] / include / linux / suspend.h
index 8b6ec7ef0854e0f51fd94e38dbf7b831c9015f6c..7693e39b14fe1a3a10737590a608cb8712adaae6 100644 (file)
@@ -18,12 +18,11 @@ static inline void pm_set_vt_switch(int do_switch)
 #endif
 
 #ifdef CONFIG_VT_CONSOLE_SLEEP
-extern int pm_prepare_console(void);
+extern void pm_prepare_console(void);
 extern void pm_restore_console(void);
 #else
-static inline int pm_prepare_console(void)
+static inline void pm_prepare_console(void)
 {
-       return 0;
 }
 
 static inline void pm_restore_console(void)