Skip to content

Commit

Permalink
Changed statement for KERNEL_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
juliagoda committed Nov 30, 2021
1 parent 475f023 commit 6b9062a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ch34x.c
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ static int ch34x_write( struct usb_serial_port *port,
return count;
}

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,13,0)) && GCC_VERSION >= 100100
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0)) && GCC_VERSION >= 100100
static unsigned int ch34x_write_room( struct tty_struct *tty )
{
struct usb_serial_port *port = tty->driver_data;
Expand Down Expand Up @@ -959,7 +959,7 @@ static int ch34x_write_room( struct usb_serial_port *port )
return room;
}

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,13,0)) && GCC_VERSION >= 100100
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0)) && GCC_VERSION >= 100100
static unsigned int ch34x_chars_in_buffer( struct tty_struct *tty )
{
struct usb_serial_port *port = tty->driver_data;
Expand Down

0 comments on commit 6b9062a

Please sign in to comment.