tty: create internal tty.h file
[linux-2.6-block.git] / drivers / tty / n_tty.c
index 87ec15dbe10db355dbe1b760fe65eeddb4ce99fc..9686c5d1057155cc605671c8660545e0321487fc 100644 (file)
@@ -49,6 +49,7 @@
 #include <linux/module.h>
 #include <linux/ratelimit.h>
 #include <linux/vmalloc.h>
+#include "tty.h"
 
 /*
  * Until this number of characters is queued in the xmit buffer, select will
@@ -2488,7 +2489,7 @@ static int n_tty_ioctl(struct tty_struct *tty, struct file *file,
 }
 
 static struct tty_ldisc_ops n_tty_ops = {
-       .magic           = TTY_LDISC_MAGIC,
+       .owner           = THIS_MODULE,
        .name            = "n_tty",
        .open            = n_tty_open,
        .close           = n_tty_close,