The patch titled tty: Remove include of screen_info.h from tty.h has been removed from the -mm tree. Its filename is tty-remove-include-of-screen_infoh-from-ttyh.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: tty: Remove include of screen_info.h from tty.h From: Jon Smirl <jonsmir@xxxxxxxxx> 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@xxxxxxxx: fix arm build] [akpm@xxxxxxxx: fix alpha build] Signed-off-by: Jon Smirl <jonsmir@xxxxxxxxx> Signed-off-by: Antonino Daplas <adaplas@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/alpha/kernel/alpha_ksyms.c | 1 + arch/alpha/kernel/setup.c | 2 +- arch/alpha/kernel/sys_sio.c | 2 +- arch/arm/kernel/setup.c | 2 +- arch/arm26/kernel/setup.c | 2 +- arch/cris/kernel/setup.c | 2 +- arch/i386/kernel/setup.c | 2 +- arch/ia64/dig/setup.c | 2 +- arch/ia64/kernel/setup.c | 2 +- arch/ia64/sn/kernel/setup.c | 2 +- arch/m32r/kernel/setup.c | 2 +- arch/mips/kernel/setup.c | 2 +- arch/mips/mips-boards/malta/malta_setup.c | 2 +- arch/mips/sibyte/swarm/setup.c | 2 +- arch/mips/sni/setup.c | 2 +- arch/powerpc/kernel/ppc_ksyms.c | 2 +- arch/powerpc/kernel/setup-common.c | 2 +- arch/ppc/kernel/ppc_ksyms.c | 2 +- arch/ppc/kernel/setup.c | 2 +- arch/ppc/platforms/prep_setup.c | 2 +- arch/sh/kernel/setup.c | 2 +- arch/sh64/kernel/setup.c | 2 +- arch/sh64/kernel/sh_ksyms.c | 2 +- arch/sparc/kernel/setup.c | 2 +- arch/sparc64/kernel/setup.c | 2 +- arch/x86_64/kernel/early_printk.c | 2 +- arch/x86_64/kernel/setup.c | 2 +- arch/xtensa/kernel/setup.c | 2 +- drivers/video/console/dummycon.c | 1 + drivers/video/console/vgacon.c | 1 + drivers/video/sis/sis_main.c | 2 +- include/linux/tty.h | 1 - 32 files changed, 31 insertions(+), 29 deletions(-) diff -puN arch/alpha/kernel/alpha_ksyms.c~tty-remove-include-of-screen_infoh-from-ttyh arch/alpha/kernel/alpha_ksyms.c --- a/arch/alpha/kernel/alpha_ksyms.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/alpha/kernel/alpha_ksyms.c @@ -14,6 +14,7 @@ #include <linux/in.h> #include <linux/in6.h> #include <linux/pci.h> +#include <linux/screen_info.h> #include <linux/tty.h> #include <linux/mm.h> #include <linux/delay.h> diff -puN arch/alpha/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/alpha/kernel/setup.c --- a/arch/alpha/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/alpha/kernel/setup.c @@ -19,7 +19,7 @@ #include <linux/slab.h> #include <linux/user.h> #include <linux/a.out.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/delay.h> #include <linux/config.h> /* CONFIG_ALPHA_LCA etc */ #include <linux/mc146818rtc.h> diff -puN arch/alpha/kernel/sys_sio.c~tty-remove-include-of-screen_infoh-from-ttyh arch/alpha/kernel/sys_sio.c --- a/arch/alpha/kernel/sys_sio.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/alpha/kernel/sys_sio.c @@ -16,7 +16,7 @@ #include <linux/sched.h> #include <linux/pci.h> #include <linux/init.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <asm/compiler.h> #include <asm/ptrace.h> diff -puN arch/arm26/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/arm26/kernel/setup.c --- a/arch/arm26/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/arm26/kernel/setup.c @@ -17,7 +17,7 @@ #include <linux/console.h> #include <linux/bootmem.h> #include <linux/seq_file.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/init.h> #include <linux/root_dev.h> diff -puN arch/arm/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/arm/kernel/setup.c --- a/arch/arm/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/arm/kernel/setup.c @@ -17,7 +17,7 @@ #include <linux/console.h> #include <linux/bootmem.h> #include <linux/seq_file.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/init.h> #include <linux/root_dev.h> #include <linux/cpu.h> diff -puN arch/cris/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/cris/kernel/setup.c --- a/arch/cris/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/cris/kernel/setup.c @@ -15,7 +15,7 @@ #include <linux/bootmem.h> #include <asm/pgtable.h> #include <linux/seq_file.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/utsname.h> #include <linux/pfn.h> diff -puN arch/i386/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/i386/kernel/setup.c --- a/arch/i386/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/i386/kernel/setup.c @@ -26,7 +26,7 @@ #include <linux/sched.h> #include <linux/mm.h> #include <linux/mmzone.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/ioport.h> #include <linux/acpi.h> #include <linux/apm_bios.h> diff -puN arch/ia64/dig/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/ia64/dig/setup.c --- a/arch/ia64/dig/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/ia64/dig/setup.c @@ -14,7 +14,7 @@ #include <linux/kernel.h> #include <linux/kdev_t.h> #include <linux/string.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/console.h> #include <linux/timex.h> #include <linux/sched.h> diff -puN arch/ia64/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/ia64/kernel/setup.c --- a/arch/ia64/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/ia64/kernel/setup.c @@ -35,7 +35,7 @@ #include <linux/seq_file.h> #include <linux/string.h> #include <linux/threads.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/dmi.h> #include <linux/serial.h> #include <linux/serial_core.h> diff -puN arch/ia64/sn/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/ia64/sn/kernel/setup.c --- a/arch/ia64/sn/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/ia64/sn/kernel/setup.c @@ -12,7 +12,7 @@ #include <linux/kernel.h> #include <linux/kdev_t.h> #include <linux/string.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/console.h> #include <linux/timex.h> #include <linux/sched.h> diff -puN arch/m32r/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/m32r/kernel/setup.c --- a/arch/m32r/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/m32r/kernel/setup.c @@ -21,7 +21,7 @@ #include <linux/root_dev.h> #include <linux/seq_file.h> #include <linux/timex.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/cpu.h> #include <linux/nodemask.h> #include <linux/pfn.h> diff -puN arch/mips/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/mips/kernel/setup.c --- a/arch/mips/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/mips/kernel/setup.c @@ -24,7 +24,7 @@ #include <linux/user.h> #include <linux/utsname.h> #include <linux/a.out.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/bootmem.h> #include <linux/initrd.h> #include <linux/major.h> diff -puN arch/mips/mips-boards/malta/malta_setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/mips/mips-boards/malta/malta_setup.c --- a/arch/mips/mips-boards/malta/malta_setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/mips/mips-boards/malta/malta_setup.c @@ -19,7 +19,7 @@ #include <linux/sched.h> #include <linux/ioport.h> #include <linux/pci.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #ifdef CONFIG_MTD #include <linux/mtd/partitions.h> diff -puN arch/mips/sibyte/swarm/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/mips/sibyte/swarm/setup.c --- a/arch/mips/sibyte/swarm/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/mips/sibyte/swarm/setup.c @@ -27,7 +27,7 @@ #include <linux/blkdev.h> #include <linux/init.h> #include <linux/kernel.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/initrd.h> #include <asm/irq.h> diff -puN arch/mips/sni/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/mips/sni/setup.c --- a/arch/mips/sni/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/mips/sni/setup.c @@ -18,7 +18,7 @@ #include <linux/pci.h> #include <linux/console.h> #include <linux/fb.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #ifdef CONFIG_ARC #include <asm/arc/types.h> diff -puN arch/powerpc/kernel/ppc_ksyms.c~tty-remove-include-of-screen_infoh-from-ttyh arch/powerpc/kernel/ppc_ksyms.c --- a/arch/powerpc/kernel/ppc_ksyms.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/powerpc/kernel/ppc_ksyms.c @@ -5,7 +5,7 @@ #include <linux/elfcore.h> #include <linux/string.h> #include <linux/interrupt.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/vt_kern.h> #include <linux/nvram.h> #include <linux/console.h> diff -puN arch/powerpc/kernel/setup-common.c~tty-remove-include-of-screen_infoh-from-ttyh arch/powerpc/kernel/setup-common.c --- a/arch/powerpc/kernel/setup-common.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/powerpc/kernel/setup-common.c @@ -26,7 +26,7 @@ #include <linux/ioport.h> #include <linux/console.h> #include <linux/utsname.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/root_dev.h> #include <linux/notifier.h> #include <linux/cpu.h> diff -puN arch/ppc/kernel/ppc_ksyms.c~tty-remove-include-of-screen_infoh-from-ttyh arch/ppc/kernel/ppc_ksyms.c --- a/arch/ppc/kernel/ppc_ksyms.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/ppc/kernel/ppc_ksyms.c @@ -5,7 +5,7 @@ #include <linux/elfcore.h> #include <linux/string.h> #include <linux/interrupt.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/vt_kern.h> #include <linux/nvram.h> #include <linux/console.h> diff -puN arch/ppc/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/ppc/kernel/setup.c --- a/arch/ppc/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/ppc/kernel/setup.c @@ -11,7 +11,7 @@ #include <linux/delay.h> #include <linux/initrd.h> #include <linux/ide.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/bootmem.h> #include <linux/seq_file.h> #include <linux/root_dev.h> diff -puN arch/ppc/platforms/prep_setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/ppc/platforms/prep_setup.c --- a/arch/ppc/platforms/prep_setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/ppc/platforms/prep_setup.c @@ -23,7 +23,7 @@ #include <linux/slab.h> #include <linux/user.h> #include <linux/a.out.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/major.h> #include <linux/interrupt.h> #include <linux/reboot.h> diff -puN arch/sh64/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/sh64/kernel/setup.c --- a/arch/sh64/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/sh64/kernel/setup.c @@ -36,7 +36,7 @@ #include <linux/slab.h> #include <linux/user.h> #include <linux/a.out.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/ioport.h> #include <linux/delay.h> #include <linux/init.h> diff -puN arch/sh64/kernel/sh_ksyms.c~tty-remove-include-of-screen_infoh-from-ttyh arch/sh64/kernel/sh_ksyms.c --- a/arch/sh64/kernel/sh_ksyms.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/sh64/kernel/sh_ksyms.c @@ -18,7 +18,7 @@ #include <linux/in6.h> #include <linux/interrupt.h> #include <linux/smp_lock.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <asm/semaphore.h> #include <asm/processor.h> diff -puN arch/sh/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/sh/kernel/setup.c --- a/arch/sh/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/sh/kernel/setup.c @@ -10,7 +10,7 @@ * This file handles the architecture-dependent parts of initialization */ -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/ioport.h> #include <linux/init.h> #include <linux/initrd.h> diff -puN arch/sparc64/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/sparc64/kernel/setup.c --- a/arch/sparc64/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/sparc64/kernel/setup.c @@ -16,7 +16,7 @@ #include <asm/smp.h> #include <linux/user.h> #include <linux/a.out.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/delay.h> #include <linux/fs.h> #include <linux/seq_file.h> diff -puN arch/sparc/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/sparc/kernel/setup.c --- a/arch/sparc/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/sparc/kernel/setup.c @@ -17,7 +17,7 @@ #include <asm/smp.h> #include <linux/user.h> #include <linux/a.out.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/delay.h> #include <linux/fs.h> #include <linux/seq_file.h> diff -puN arch/x86_64/kernel/early_printk.c~tty-remove-include-of-screen_infoh-from-ttyh arch/x86_64/kernel/early_printk.c --- a/arch/x86_64/kernel/early_printk.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/x86_64/kernel/early_printk.c @@ -2,7 +2,7 @@ #include <linux/kernel.h> #include <linux/init.h> #include <linux/string.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <asm/io.h> #include <asm/processor.h> #include <asm/fcntl.h> diff -puN arch/x86_64/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/x86_64/kernel/setup.c --- a/arch/x86_64/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/x86_64/kernel/setup.c @@ -21,7 +21,7 @@ #include <linux/slab.h> #include <linux/user.h> #include <linux/a.out.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/ioport.h> #include <linux/delay.h> #include <linux/init.h> diff -puN arch/xtensa/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh arch/xtensa/kernel/setup.c --- a/arch/xtensa/kernel/setup.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/arch/xtensa/kernel/setup.c @@ -17,7 +17,7 @@ #include <linux/errno.h> #include <linux/init.h> #include <linux/proc_fs.h> -#include <linux/tty.h> +#include <linux/screen_info.h> #include <linux/bootmem.h> #include <linux/kernel.h> diff -puN drivers/video/console/dummycon.c~tty-remove-include-of-screen_infoh-from-ttyh drivers/video/console/dummycon.c --- a/drivers/video/console/dummycon.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/drivers/video/console/dummycon.c @@ -9,6 +9,7 @@ #include <linux/kdev_t.h> #include <linux/console.h> #include <linux/vt_kern.h> +#include <linux/screen_info.h> #include <linux/init.h> #include <linux/module.h> diff -puN drivers/video/console/vgacon.c~tty-remove-include-of-screen_infoh-from-ttyh drivers/video/console/vgacon.c --- a/drivers/video/console/vgacon.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/drivers/video/console/vgacon.c @@ -47,6 +47,7 @@ #include <linux/spinlock.h> #include <linux/ioport.h> #include <linux/init.h> +#include <linux/screen_info.h> #include <linux/smp_lock.h> #include <video/vga.h> #include <asm/io.h> diff -puN drivers/video/sis/sis_main.c~tty-remove-include-of-screen_infoh-from-ttyh drivers/video/sis/sis_main.c --- a/drivers/video/sis/sis_main.c~tty-remove-include-of-screen_infoh-from-ttyh +++ a/drivers/video/sis/sis_main.c @@ -45,7 +45,7 @@ #include <linux/string.h> #include <linux/mm.h> -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17) #include <linux/tty.h> #else #include <linux/screen_info.h> diff -puN include/linux/tty.h~tty-remove-include-of-screen_infoh-from-ttyh include/linux/tty.h --- a/include/linux/tty.h~tty-remove-include-of-screen_infoh-from-ttyh +++ a/include/linux/tty.h @@ -12,7 +12,6 @@ #include <linux/workqueue.h> #include <linux/tty_driver.h> #include <linux/tty_ldisc.h> -#include <linux/screen_info.h> #include <linux/mutex.h> #include <asm/system.h> _ Patches currently in -mm which might be from jonsmir@xxxxxxxxx are origin.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html