mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
[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>
This commit is contained in:
parent
67eb5db587
commit
a8f340e394
74 changed files with 26 additions and 78 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue