myriadrf / xtrx_linux_pcie_drv

XTRX PCI driver for linux
Apache License 2.0
16 stars 22 forks source link

xtrx.c: fix build error with kernel 6.1 #15

Closed grandpaul closed 9 months ago

grandpaul commented 1 year ago

uart_ops.set_termios type changes a little in kernel 6.1. Thus we need to change xtrx_uart_set_termios() third parameter as a const pointer when building with kernel version >= 6.1

Signed-off-by: Ying-Chun Liu (PaulLiu) paulliu@debian.org