Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions driver/ch341.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static DEFINE_IDR(ch341_minors);
static DEFINE_MUTEX(ch341_minors_lock);

static void ch341_tty_set_termios(struct tty_struct *tty,
struct ktermios *termios_old);
const struct ktermios *termios_old);

/*
* ch341_minors accessors
Expand Down Expand Up @@ -1077,7 +1077,7 @@ static int ch341_get(unsigned int baval,
}

static void ch341_tty_set_termios(struct tty_struct *tty,
struct ktermios *termios_old)
const struct ktermios *termios_old)
{
struct ch341 *ch341 = tty->driver_data;
struct ktermios *termios = &tty->termios;
Expand Down