]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/tty.h
[PATCH] BLOCK: Move extern declarations out of fs/*.c into header files [try #6]
[karo-tx-linux.git] / include / linux / tty.h
index d1dec3d0c81427ae34c5ba5174dd12ed73b8db3c..44091c0db0b46b473234172a91d983319648e7ce 100644 (file)
@@ -174,7 +174,7 @@ struct tty_struct {
        struct tty_driver *driver;
        int index;
        struct tty_ldisc ldisc;
-       struct semaphore termios_sem;
+       struct mutex termios_mutex;
        struct termios *termios, *termios_locked;
        char name[64];
        int pgrp;
@@ -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 */