]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/tty.h
tty: Finish fixing up the init_dev interface to use ERR_PTR
[linux-2.6-omap-h63xx.git] / include / linux / tty.h
index 6cc7ccc93c69184f5bdfa82a9f502985b475d2b3..54523a37e95646a93c9defcd8ff08cfebc8532e0 100644 (file)
@@ -401,8 +401,8 @@ extern dev_t tty_devnum(struct tty_struct *tty);
 extern void proc_clear_tty(struct task_struct *p);
 extern struct tty_struct *get_current_tty(void);
 extern void tty_default_fops(struct file_operations *fops);
-extern int tty_init_dev(struct tty_driver *driver, int idx,
-                       struct tty_struct **ret_tty, int first_ok);
+extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx,
+                                                               int first_ok);
 extern void tty_release_dev(struct file *filp);
 
 extern struct mutex tty_mutex;