fix console suspend compile failure.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kernel/power/main.c: In function 'suspend_prepare':
kernel/power/main.c:89: error: implicit declaration of function 'suspend_console'
kernel/power/main.c: In function 'suspend_finish':
kernel/power/main.c:137: error: implicit declaration of function 'resume_console'

Signed-off-by: Dave Jones <[email protected]>

--- linux-2.6.17.noarch/kernel/power/main.c~	2006-06-22 13:45:57.827853000 -0400
+++ linux-2.6.17.noarch/kernel/power/main.c	2006-06-22 13:46:09.894764000 -0400
@@ -15,7 +15,7 @@
 #include <linux/errno.h>
 #include <linux/init.h>
 #include <linux/pm.h>
-
+#include <linux/console.h>
 
 #include "power.h"
 

-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux