Skip to content

Commit

Permalink
Fix incompatible pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
duovigintillion authored Jan 3, 2023
1 parent 7a8278f commit d5a7e46
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, cosnt struct ktermios *old_termios )
{
#else
static void ch34x_set_termios( struct usb_serial_port *port,
Expand Down

0 comments on commit d5a7e46

Please sign in to comment.