From: Antonino A. Daplas <adaplas@gmail.com>
Date: Mon, 7 Nov 2005 09:00:51 +0000 (-0800)
Subject: [PATCH] console: Fix compile error
X-Git-Tag: v2.6.15-rc1~539
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e07dea98761270249f33e733ff86420bc52ccab6;p=linux-2.6-omap-h63xx.git

[PATCH] console: Fix compile error

Fix following compile error (From Kernel Bugzilla Bug 5427):

include/linux/console_struct.h:53: error: field `vt_mode' has incomplete type

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---

diff --git a/include/linux/console_struct.h b/include/linux/console_struct.h
index 725be90ef55..f8e5587a0f9 100644
--- a/include/linux/console_struct.h
+++ b/include/linux/console_struct.h
@@ -9,6 +9,8 @@
  * to achieve effects such as fast scrolling by changing the origin.
  */
 
+#include <linux/vt.h>
+
 struct vt_struct;
 
 #define NPAR 16