|
@@ -401,8 +401,6 @@ extern struct tty_struct *get_current_tty(void);
|
|
|
/* tty_io.c */
|
|
|
extern int __init tty_init(void);
|
|
|
extern const char *tty_name(const struct tty_struct *tty);
|
|
|
-extern struct tty_struct *tty_open_by_driver(dev_t device, struct inode *inode,
|
|
|
- struct file *filp);
|
|
|
extern struct tty_struct *tty_kopen(dev_t device);
|
|
|
extern void tty_kclose(struct tty_struct *tty);
|
|
|
extern int tty_dev_name_to_number(const char *name, dev_t *number);
|
|
@@ -426,9 +424,6 @@ 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; }
|
|
|
static inline struct tty_struct *tty_kopen(dev_t device)
|
|
|
{ return ERR_PTR(-ENODEV); }
|
|
|
static inline void tty_kclose(struct tty_struct *tty)
|