summaryrefslogtreecommitdiff
path: root/include/linux/console_struct.h
diff options
context:
space:
mode:
authorJon Smirl <jonsmir@gmail.com>2006-07-10 15:44:12 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-11 00:24:16 +0400
commita8f340e394ff30b79ab5b03c67ab4c94b2ac3646 (patch)
tree54bb79dba4f3943e893bacd1efe7b265d7f86aaa /include/linux/console_struct.h
parent67eb5db5874076db01febed5a1a9281628fa9fb4 (diff)
downloadlinux-a8f340e394ff30b79ab5b03c67ab4c94b2ac3646.tar.xz
[PATCH] vt: Remove VT-specific declarations and definitions from tty.h
MAX_NR_CONSOLES, fg_console, want_console and last_console are more of a function of the VT layer than the TTY one. Moving these to vt.h and vt_kern.h allows all of the framebuffer and VT console drivers to remove their dependency on tty.h. [akpm@osdl.org: fix alpha build] Signed-off-by: Jon Smirl <jonsmir@gmail.com> Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/console_struct.h')
-rw-r--r--include/linux/console_struct.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/console_struct.h b/include/linux/console_struct.h
index f8e5587a0f92..25423f79bf9f 100644
--- a/include/linux/console_struct.h
+++ b/include/linux/console_struct.h
@@ -9,6 +9,7 @@
* to achieve effects such as fast scrolling by changing the origin.
*/
+#include <linux/wait.h>
#include <linux/vt.h>
struct vt_struct;