diff options
| author | Alexander Viro <viro@www.linux.org.uk> | 2003-04-23 04:19:08 -0700 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2003-04-23 04:19:08 -0700 |
| commit | ce2b651fd1606c7516a8c175491e19f1432cd09b (patch) | |
| tree | fc8bb390a0efaa3992c42fe7be2adb90a6bf6e4c /include/linux | |
| parent | 345127472f366d63f50fdf29b9dd84e70a084bd7 (diff) | |
[PATCH] tty cleanups (7/12)
sanitized driver->driver_name initialization and use
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/tty.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index de633b4b551b..eaa682168a7a 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -380,8 +380,8 @@ extern void start_tty(struct tty_struct * tty); extern int tty_register_ldisc(int disc, struct tty_ldisc *new_ldisc); extern int tty_register_driver(struct tty_driver *driver); extern int tty_unregister_driver(struct tty_driver *driver); -extern void tty_register_device(struct tty_driver *driver, unsigned minor); -extern void tty_unregister_device(struct tty_driver *driver, unsigned minor); +extern void tty_register_device(struct tty_driver *driver, unsigned index); +extern void tty_unregister_device(struct tty_driver *driver, unsigned index); extern int tty_read_raw_data(struct tty_struct *tty, unsigned char *bufp, int buflen); extern void tty_write_message(struct tty_struct *tty, char *msg); |
