From c325d49e9f830102257a8833366df5507f032bf2 Mon Sep 17 00:00:00 2001 From: 6r1d Date: Sat, 4 Feb 2023 17:08:03 +0200 Subject: [PATCH] Fix for #34: incompatible-pointer-types Signed-off-by: 6r1d --- ch34x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch34x.c b/ch34x.c index dd08001..b640a73 100644 --- a/ch34x.c +++ b/ch34x.c @@ -399,7 +399,7 @@ static int ch34x_get_baud_rate( unsigned int baud_rate, #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)) static void ch34x_set_termios( struct tty_struct *tty, - struct usb_serial_port *port, struct ktermios *old_termios ) + struct usb_serial_port *port, const struct ktermios *old_termios ) { #else static void ch34x_set_termios( struct usb_serial_port *port,