mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
TTY: create drivers/tty and move the tty core files there
The tty code should be in its own subdirectory and not in the char driver with all of the cruft that is currently there. Based on work done by Arnd Bergmann <arnd@arndb.de> Acked-by: Arnd Bergmann <arnd@arndb.de> Cc: Jiri Slaby <jslaby@suse.cz> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
c8ddb2713c
commit
96fd7ce58f
@ -26,6 +26,7 @@ obj-$(CONFIG_REGULATOR) += regulator/
|
|||||||
|
|
||||||
# char/ comes before serial/ etc so that the VT console is the boot-time
|
# char/ comes before serial/ etc so that the VT console is the boot-time
|
||||||
# default.
|
# default.
|
||||||
|
obj-y += tty/
|
||||||
obj-y += char/
|
obj-y += char/
|
||||||
|
|
||||||
# gpu/ comes after char for AGP vs DRM startup
|
# gpu/ comes after char for AGP vs DRM startup
|
||||||
|
@ -7,19 +7,13 @@
|
|||||||
#
|
#
|
||||||
FONTMAPFILE = cp437.uni
|
FONTMAPFILE = cp437.uni
|
||||||
|
|
||||||
obj-y += mem.o random.o tty_io.o n_tty.o tty_ioctl.o tty_ldisc.o tty_buffer.o tty_port.o
|
obj-y += mem.o random.o
|
||||||
|
|
||||||
obj-y += tty_mutex.o
|
|
||||||
obj-$(CONFIG_LEGACY_PTYS) += pty.o
|
|
||||||
obj-$(CONFIG_UNIX98_PTYS) += pty.o
|
|
||||||
obj-$(CONFIG_TTY_PRINTK) += ttyprintk.o
|
obj-$(CONFIG_TTY_PRINTK) += ttyprintk.o
|
||||||
obj-y += misc.o
|
obj-y += misc.o
|
||||||
obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o selection.o keyboard.o
|
obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o selection.o keyboard.o
|
||||||
obj-$(CONFIG_BFIN_JTAG_COMM) += bfin_jtag_comm.o
|
obj-$(CONFIG_BFIN_JTAG_COMM) += bfin_jtag_comm.o
|
||||||
obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o
|
obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o
|
||||||
obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o
|
obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o
|
||||||
obj-$(CONFIG_AUDIT) += tty_audit.o
|
|
||||||
obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
|
|
||||||
obj-$(CONFIG_MVME147_SCC) += generic_serial.o vme_scc.o
|
obj-$(CONFIG_MVME147_SCC) += generic_serial.o vme_scc.o
|
||||||
obj-$(CONFIG_MVME162_SCC) += generic_serial.o vme_scc.o
|
obj-$(CONFIG_MVME162_SCC) += generic_serial.o vme_scc.o
|
||||||
obj-$(CONFIG_BVME6000_SCC) += generic_serial.o vme_scc.o
|
obj-$(CONFIG_BVME6000_SCC) += generic_serial.o vme_scc.o
|
||||||
@ -41,8 +35,6 @@ obj-$(CONFIG_ISI) += isicom.o
|
|||||||
obj-$(CONFIG_SYNCLINK) += synclink.o
|
obj-$(CONFIG_SYNCLINK) += synclink.o
|
||||||
obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o
|
obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o
|
||||||
obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o
|
obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o
|
||||||
obj-$(CONFIG_N_HDLC) += n_hdlc.o
|
|
||||||
obj-$(CONFIG_N_GSM) += n_gsm.o
|
|
||||||
obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
|
obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
|
||||||
obj-$(CONFIG_SX) += sx.o generic_serial.o
|
obj-$(CONFIG_SX) += sx.o generic_serial.o
|
||||||
obj-$(CONFIG_RIO) += rio/ generic_serial.o
|
obj-$(CONFIG_RIO) += rio/ generic_serial.o
|
||||||
@ -74,7 +66,6 @@ obj-$(CONFIG_PRINTER) += lp.o
|
|||||||
obj-$(CONFIG_APM_EMULATION) += apm-emulation.o
|
obj-$(CONFIG_APM_EMULATION) += apm-emulation.o
|
||||||
|
|
||||||
obj-$(CONFIG_DTLK) += dtlk.o
|
obj-$(CONFIG_DTLK) += dtlk.o
|
||||||
obj-$(CONFIG_R3964) += n_r3964.o
|
|
||||||
obj-$(CONFIG_APPLICOM) += applicom.o
|
obj-$(CONFIG_APPLICOM) += applicom.o
|
||||||
obj-$(CONFIG_SONYPI) += sonypi.o
|
obj-$(CONFIG_SONYPI) += sonypi.o
|
||||||
obj-$(CONFIG_RTC) += rtc.o
|
obj-$(CONFIG_RTC) += rtc.o
|
||||||
|
9
drivers/tty/Makefile
Normal file
9
drivers/tty/Makefile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
obj-y += tty_io.o n_tty.o tty_ioctl.o tty_ldisc.o \
|
||||||
|
tty_buffer.o tty_port.o tty_mutex.o
|
||||||
|
obj-$(CONFIG_LEGACY_PTYS) += pty.o
|
||||||
|
obj-$(CONFIG_UNIX98_PTYS) += pty.o
|
||||||
|
obj-$(CONFIG_AUDIT) += tty_audit.o
|
||||||
|
obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
|
||||||
|
obj-$(CONFIG_N_HDLC) += n_hdlc.o
|
||||||
|
obj-$(CONFIG_N_GSM) += n_gsm.o
|
||||||
|
obj-$(CONFIG_R3964) += n_r3964.o
|
Loading…
Reference in New Issue
Block a user