History

Merge branch 'tty-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6

* 'tty-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: omap-serial: Allow IXON and IXOFF to be disabled. TTY: serial, document ignoring of uart->ops->startup error TTY: pty, fix pty counting 8250: Fix race condition in serial8250_backup_timeout(). serial/8250_pci: delete duplicate data definition 8250_pci: add support for Rosewill RC-305 4x serial port card tty: Add "spi:" prefix for spi modalias atmel_serial: fix atmel_default_console_device serial: 8250_pnp: add Intermec CV60 touchscreen device drivers/serial/ucc_uart.c: Fix compiler warning pch_uart: Set PCIe bus number using probe parameter serial: samsung: Fix build error

Linus Torvalds committed 15 years ago

Commit efe45ab2 parents 3ab4702 b280a9716 files · +57 −25Browse files

Showing the changes to include/linux (2 of 16 files). Show all

Unified · Split

2 files
  1. include/linux/tty.h +2 −0
  2. include/linux/tty_driver.h +3 −0
include/linux/tty.h+2−0
@@ -421,6 +421,8 @@ extern void tty_driver_flush_buffer(struct tty_struct *tty); · 420 unmodified lines
421421 extern void tty_throttle(struct tty_struct *tty);
422422 extern void tty_unthrottle(struct tty_struct *tty);
423423 extern int tty_do_resize(struct tty_struct *tty, struct winsize *ws);
424+extern void tty_driver_remove_tty(struct tty_driver *driver,
425+ struct tty_struct *tty);
424426 extern void tty_shutdown(struct tty_struct *tty);
425427 extern void tty_free_termios(struct tty_struct *tty);
426428 extern int is_current_pgrp_orphaned(void);
include/linux/tty_driver.h+3−0
@@ -47,6 +47,9 @@ · 46 unmodified lines
4747 *
4848 * This routine is called synchronously when a particular tty device
4949 * is closed for the last time freeing up the resources.
50+ * Note that tty_shutdown() is not called if ops->shutdown is defined.
51+ * This means one is responsible to take care of calling ops->remove (e.g.
52+ * via tty_driver_remove_tty) and releasing tty->termios.
5053 *
5154 *
5255 * void (*cleanup)(struct tty_struct * tty);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t