1 diff --git a/ch9344.c b/ch9344.c
2 index bfa10bb..76a94a7 100644
5 @@ -837,7 +837,11 @@ static void ch9344_tty_close(struct tty_struct *tty, struct file *filp)
9 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 6, 0))
10 +static ssize_t ch9344_tty_write(struct tty_struct *tty, const u8 *buf, size_t count)
12 static int ch9344_tty_write(struct tty_struct *tty, const unsigned char *buf, int count)
15 struct ch9344 *ch9344 = tty->driver_data;