Skip to content

Commit

Permalink
Fix for juliagoda#34: incompatible-pointer-types
Browse files Browse the repository at this point in the history
Signed-off-by: 6r1d <[email protected]>
  • Loading branch information
6r1d committed Feb 4, 2023
1 parent e70c14c commit c325d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch34x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c325d49

Please sign in to comment.