From: Lidza Louina Date: Thu, 22 Aug 2013 01:48:32 +0000 (-0400) Subject: staging: dgap: fixes incompatible type error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fc5a89904c8a6ef9bc47cecd1e068b8ba285dc22;p=openwrt%2Fstaging%2Fblogic.git staging: dgap: fixes incompatible type error This patch fixes the error: incompatible types when assigning to type ‘struct ktermios *’ from type ‘struct ktermios’ Signed-off-by: Lidza Louina Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgap/dgap_fep5.c b/drivers/staging/dgap/dgap_fep5.c index ed3cb151d6da..ce87752b9172 100644 --- a/drivers/staging/dgap/dgap_fep5.c +++ b/drivers/staging/dgap/dgap_fep5.c @@ -1260,7 +1260,7 @@ int dgap_param(struct tty_struct *tty) DPR_PARAM(("param start: tdev: %x cflags: %x oflags: %x iflags: %x\n", ch->ch_tun.un_dev, ch->ch_c_cflag, ch->ch_c_oflag, ch->ch_c_iflag)); - ts = tty->termios; + ts = &tty->termios; /* * If baud rate is zero, flush queues, and set mval to drop DTR.