[PATCH] tty: Remove include of screen_info.h from tty.h
authorJon Smirl <jonsmir@gmail.com>
Mon, 10 Jul 2006 11:44:13 +0000 (04:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:16 +0000 (13:24 -0700)
commit894673ee6122a3ce1958e1fe096901ba5356a96b
tree2fe842e63046ead098c5c61c0938ad8128934412
parenta8f340e394ff30b79ab5b03c67ab4c94b2ac3646
[PATCH] tty: Remove include of screen_info.h from tty.h

screen_info.h doesn't have anything to do with the tty layer and shouldn't be
included by tty.h.  This patches removes the include and modifies all users to
directly include screen_info.h.  struct screen_info is mainly used to
communicate with the console drivers in drivers/video/console.  Note that this
patch touches every arch and I have no way of testing it.  If there is a
mistake the worst thing that will happen is a compile error.

[akpm@osdl.org: fix arm build]
[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>
32 files changed:
arch/alpha/kernel/alpha_ksyms.c
arch/alpha/kernel/setup.c
arch/alpha/kernel/sys_sio.c
arch/arm/kernel/setup.c
arch/arm26/kernel/setup.c
arch/cris/kernel/setup.c
arch/i386/kernel/setup.c
arch/ia64/dig/setup.c
arch/ia64/kernel/setup.c
arch/ia64/sn/kernel/setup.c
arch/m32r/kernel/setup.c
arch/mips/kernel/setup.c
arch/mips/mips-boards/malta/malta_setup.c
arch/mips/sibyte/swarm/setup.c
arch/mips/sni/setup.c
arch/powerpc/kernel/ppc_ksyms.c
arch/powerpc/kernel/setup-common.c
arch/ppc/kernel/ppc_ksyms.c
arch/ppc/kernel/setup.c
arch/ppc/platforms/prep_setup.c
arch/sh/kernel/setup.c
arch/sh64/kernel/setup.c
arch/sh64/kernel/sh_ksyms.c
arch/sparc/kernel/setup.c
arch/sparc64/kernel/setup.c
arch/x86_64/kernel/early_printk.c
arch/x86_64/kernel/setup.c
arch/xtensa/kernel/setup.c
drivers/video/console/dummycon.c
drivers/video/console/vgacon.c
drivers/video/sis/sis_main.c
include/linux/tty.h