git.graph-it.com
/
graphit
/
unipi-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea7d193
)
Simplify unipi_tty to be compatible with linux 5.10
author
Miroslav Ondra
<ondra@faster.cz>
Tue, 3 Aug 2021 09:30:06 +0000
(11:30 +0200)
committer
Miroslav Ondra
<ondra@faster.cz>
Tue, 3 Aug 2021 09:30:06 +0000
(11:30 +0200)
modules/unipi/src/unipi_tty.c
patch
|
blob
|
history
diff --git
a/modules/unipi/src/unipi_tty.c
b/modules/unipi/src/unipi_tty.c
index 22d70eaaac0a3b940c4552b1c1500b3cca6ac8bc..32f2917b53b54367a8f7b5bbb9651cc16c777724 100644
(file)
--- a/
modules/unipi/src/unipi_tty.c
+++ b/
modules/unipi/src/unipi_tty.c
@@
-57,10
+57,10
@@
#include <linux/vmalloc.h>
#include <linux/version.h>
+#include "unipi_tty.h"
#if LINUX_VERSION_CODE < KERNEL_VERSION(5,10,0)
-#include "unipi_tty.h"
/* number of characters left in xmit buffer before select has we have room */
#define WAKEUP_CHARS 256