summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLidza Louina <lidza.louina@gmail.com>2013-08-22 01:48:32 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-22 17:12:42 (GMT)
commitfc5a89904c8a6ef9bc47cecd1e068b8ba285dc22 (patch)
treecacd42c8eb808cbe962f419986f6221f2a0e3ca5 /drivers
parentc84b8b503eaccf5c9e7b9f78553cbed8e97a9230 (diff)
downloadlinux-fsl-qoriq-fc5a89904c8a6ef9bc47cecd1e068b8ba285dc22.tar.xz
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 <lidza.louina@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/dgap/dgap_fep5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/dgap/dgap_fep5.c b/drivers/staging/dgap/dgap_fep5.c
index ed3cb15..ce87752 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.