]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/tty.h
ARM: Merge for-2637/s3c24xx/rx1950
[karo-tx-linux.git] / include / linux / tty.h
index 67d64e6efe7a8c95d775b6418d2c1c8d728d667d..86be0cdeb11b088ddbf5e842592a9b15fb5262c5 100644 (file)
@@ -256,6 +256,7 @@ struct tty_operations;
 struct tty_struct {
        int     magic;
        struct kref kref;
+       struct device *dev;
        struct tty_driver *driver;
        const struct tty_operations *ops;
        int index;
@@ -465,7 +466,7 @@ 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 struct tty_struct *alloc_tty_struct(void);
-extern void tty_add_file(struct tty_struct *tty, struct file *file);
+extern int tty_add_file(struct tty_struct *tty, struct file *file);
 extern void free_tty_struct(struct tty_struct *tty);
 extern void initialize_tty_struct(struct tty_struct *tty,
                struct tty_driver *driver, int idx);