From: Miroslav Ondra Date: Tue, 3 Aug 2021 09:30:06 +0000 (+0200) Subject: Simplify unipi_tty to be compatible with linux 5.10 X-Git-Url: http://git.graph-it.com/?a=commitdiff_plain;h=e3df252e2d1896542ef53b0605a9ff8d0ac18b09;p=graphit%2Funipi-kernel.git Simplify unipi_tty to be compatible with linux 5.10 --- diff --git a/modules/unipi/src/unipi_tty.c b/modules/unipi/src/unipi_tty.c index 22d70ea..32f2917 100644 --- a/modules/unipi/src/unipi_tty.c +++ b/modules/unipi/src/unipi_tty.c @@ -57,10 +57,10 @@ #include #include +#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