From: Fabio Estevam Date: Wed, 12 Nov 2014 22:32:49 +0000 (-0200) Subject: serial: mxs-auart: Fix mxs_auart_set_ldisc() X-Git-Tag: omap-for-v3.19/fixes-rc1~86^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3006e44dd3dc0f2d0ce636585ed95d5b4ad6f35;p=pandora-kernel.git serial: mxs-auart: Fix mxs_auart_set_ldisc() Commit 732a84a037a4 ("serial: core: Pass termios to set_ldisc() notifications") changed the set_ldisc prototype. At the time of this commit the mxs_auart driver did not implement set_ldisc, so that's why it has not been converted. Adapt also mxs_auart_set_ldisc() so that the following build warning can be fixed: drivers/tty/serial/mxs-auart.c:962:2: warning: initialization from incompatible pointer type .set_ldisc = mxs_auart_set_ldisc, ^ drivers/tty/serial/mxs-auart.c:962:2: warning: (near initialization for 'mxs_auart_ops.set_ldisc') Signed-off-by: Fabio Estevam Tested-by: Janusz Uzycki Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed