diff --git a/include/linux/tty.h b/include/linux/tty.h index 5c3f01f49b10f0a08b7b81b20cc5815229476ab6..b75b2d51ba2b5b574b382f7e8df3169cb81a705a 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -422,6 +422,9 @@ static inline int __init tty_init(void) { return 0; } static inline const char *tty_name(const struct tty_struct *tty) { return "(none)"; } +static inline struct tty_struct *tty_open_by_driver(dev_t device, + struct inode *inode, struct file *filp) +{ return NULL; } #endif extern struct ktermios tty_std_termios;