capnm/LaunchPad

build error: incompatible types when initializing type ‘struct ktermios *’ using type ‘struct ktermios’

dasaki opened this issue · 0 comments

I solved the compilation error by changing the name of tty->termios to tty->termiox in the file cdcacm.c

static void acm_tty_set_termios(struct tty_struct *tty,
struct ktermios *termios_old)
{
struct acm *acm = tty->driver_data;
struct ktermios *termios = tty->termiox;