summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2021-10-22 18:19:17 +0200
committernorly <ny-git@enpas.org>2021-10-22 18:19:17 +0200
commitd12e290b5777cb5dfc500f9963cfa4779cb1e5a9 (patch)
tree37e604f633c97c5e55e5281e74cd7092fe226d8b
parent16a0908cabdea3718e77301bb9d539f3375e4df7 (diff)
Remove TTY_LDISC_MAGIC
This is in sync with upstream 981b22b8777df7de070be1803f6d7ed4f634a43c which removed .magic from struct tty_ldisc_ops in Linux 5.13.
-rw-r--r--module/elmcan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/module/elmcan.c b/module/elmcan.c
index ec37af8..7fc6207 100644
--- a/module/elmcan.c
+++ b/module/elmcan.c
@@ -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,