Commit 19948472 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

tty: Rename tty_type to tty_driver

There are too many "type" in code.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 819f41ea
...@@ -21,11 +21,11 @@ enum { ...@@ -21,11 +21,11 @@ enum {
extern const struct fdtype_ops tty_dump_ops; extern const struct fdtype_ops tty_dump_ops;
struct tty_type; struct tty_driver;
struct tty_type *get_tty_type(int major, int minor); struct tty_driver *get_tty_driver(int major, int minor);
static inline int is_tty(int major, int minor) static inline int is_tty(int major, int minor)
{ {
return get_tty_type(major, minor) != NULL; return get_tty_driver(major, minor) != NULL;
} }
extern int dump_verify_tty_sids(void); extern int dump_verify_tty_sids(void);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment