patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / include / linux / tty_ldisc.h
index c851b7d..cb7ca58 100644 (file)
@@ -114,9 +114,9 @@ struct tty_ldisc {
        void    (*flush_buffer)(struct tty_struct *tty);
        ssize_t (*chars_in_buffer)(struct tty_struct *tty);
        ssize_t (*read)(struct tty_struct * tty, struct file * file,
-                       unsigned char * buf, size_t nr);
+                       unsigned char __user * buf, size_t nr);
        ssize_t (*write)(struct tty_struct * tty, struct file * file,
-                        const unsigned char * buf, size_t nr); 
+                        const unsigned char __user * buf, size_t nr);  
        int     (*ioctl)(struct tty_struct * tty, struct file * file,
                         unsigned int cmd, unsigned long arg);
        void    (*set_termios)(struct tty_struct *tty, struct termios * old);