lkml.org 
[lkml]   [2006]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] fix implicit function declarations in kernel/power/main.c
Date

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@gmail.com>
---

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

\
 
 \ /
  Last update: 2006-06-23 00:09    [W:0.083 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site