projects
/
elmcan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16a0908
)
Remove TTY_LDISC_MAGIC
author
norly
<ny-git@enpas.org>
Fri, 22 Oct 2021 16:19:17 +0000
(18:19 +0200)
committer
norly
<ny-git@enpas.org>
Fri, 22 Oct 2021 16:19:17 +0000
(18:19 +0200)
This is in sync with upstream
981b22b8777df7de070be1803f6d7ed4f634a43c
which removed .magic from struct tty_ldisc_ops in Linux 5.13.
module/elmcan.c
patch
|
blob
|
history
diff --git
a/module/elmcan.c
b/module/elmcan.c
index ec37af88f895103bea9997d77a948f74649615b6..7fc620777876baa3076ec9993f7b20101fa42e6a 100644
(file)
--- 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,