Open big-yellow-duck opened 1 year ago
I've followed the readme to compile the driver but it gives this error.
error: initialization of ‘void ()(struct tty_struct , const struct ktermios )’ from incompatible pointer type ‘void ()(struct tty_struct , struct ktermios )’ [-Werror=incompatible-pointer-types] 2613 | .set_termios = ch9344_tty_set_termios, | ^~~~~~
I've tried compiling on ubuntu 20.04 on a pc with kernel version 5.15.0-71-generic and it works correctly
I fixed the issue by changing line 2613 to this
.set_termios = (void*)ch9344_tty_set_termios,
I've followed the readme to compile the driver but it gives this error.
error: initialization of ‘void ()(struct tty_struct , const struct ktermios )’ from incompatible pointer type ‘void ()(struct tty_struct , struct ktermios )’ [-Werror=incompatible-pointer-types] 2613 | .set_termios = ch9344_tty_set_termios, | ^
~~~~~I've tried compiling on ubuntu 20.04 on a pc with kernel version 5.15.0-71-generic and it works correctly