Remove TTY_LDISC_MAGIC
[elmcan.git] / module / elmcan.c
index ec37af88f895103bea9997d77a948f74649615b6..7fc620777876baa3076ec9993f7b20101fa42e6a 100644 (file)
@@ -1226,7 +1226,6 @@ static int elmcan_ldisc_ioctl(struct tty_struct *tty, struct file *file,
 
 static struct tty_ldisc_ops elmcan_ldisc = {
        .owner          = THIS_MODULE,
-       .magic          = TTY_LDISC_MAGIC,
        .name           = "elmcan",
        .receive_buf    = elmcan_ldisc_rx,
        .write_wakeup   = elmcan_ldisc_tx_wakeup,