[PATCH] fix implicit function declarations in kernel/power/main.c

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

 



This patch fixes two warnings about implicitly declared functions
in kernel/power/main.c : 
  kernel/power/main.c: In function `suspend_prepare':
  kernel/power/main.c:89: warning: implicit declaration of function `suspend_console'
  kernel/power/main.c: In function `suspend_finish':
  kernel/power/main.c:137: warning: implicit declaration of function `resume_console'


Signed-off-by: Jesper Juhl <[email protected]>
---

 kernel/power/main.c |    1 +
 1 files changed, 1 insertion(+)

--- linux-2.6.17-git4-orig/kernel/power/main.c	2006-06-22 23:45:28.000000000 +0200
+++ linux-2.6.17-git4/kernel/power/main.c	2006-06-23 00:01:04.000000000 +0200
@@ -10,6 +10,7 @@
 
 #include <linux/suspend.h>
 #include <linux/kobject.h>
+#include <linux/console.h>
 #include <linux/string.h>
 #include <linux/delay.h>
 #include <linux/errno.h>


-
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