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

From: Jesper Juhl
Date: Thu Jun 22 2006 - 18:05:32 EST



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 <jesper.juhl@xxxxxxxxx>
---

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/