]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - include/linux/tty.h
WorkStruct: Separate delayable and non-delayable events.
[linux-2.6.git] / include / linux / tty.h
index ea4c2605f8da8836128fd2e2f4fe7e712d536ee5..c1f716446161282539591f6a86f8508e6fc45e1e 100644 (file)
@@ -53,7 +53,7 @@ struct tty_buffer {
 };
 
 struct tty_bufhead {
-       struct work_struct              work;
+       struct delayed_work work;
        struct semaphore pty_sem;
        spinlock_t lock;
        struct tty_buffer *head;        /* Queue head */
@@ -307,6 +307,9 @@ extern void tty_ldisc_put(int);
 extern void tty_wakeup(struct tty_struct *tty);
 extern void tty_ldisc_flush(struct tty_struct *tty);
 
+extern int tty_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
+                    unsigned long arg);
+
 extern struct mutex tty_mutex;
 
 /* n_tty.c */