Files
rockchip-kernel/drivers/char
John Stultz 112306e71a ANDROID: arm: dcc_tty: fix armv6 dcc tty build failure
Fix spinlock declaration and tty_insert/flip arguments.

If ARM DCC tty driver is enabled then we run into following build failure:
----------
  CC      drivers/char/dcc_tty.o
drivers/char/dcc_tty.c:29:36: error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
drivers/char/dcc_tty.c: In function ‘dcc_poll_locked’:
drivers/char/dcc_tty.c:83:4: warning: passing argument 1 of ‘tty_insert_flip_string’ from incompatible pointer type [enabled by default]
In file included from drivers/char/dcc_tty.c:23:0:
include/linux/tty_flip.h:32:19: note: expected ‘struct tty_port *’ but argument is of type ‘struct tty_struct *’
drivers/char/dcc_tty.c:84:4: warning: passing argument 1 of ‘tty_flip_buffer_push’ from incompatible pointer type [enabled by default]
In file included from drivers/char/dcc_tty.c:23:0:
include/linux/tty_flip.h:13:13: note: expected ‘struct tty_port *’ but argument is of type ‘struct tty_struct *’
make[2]: *** [drivers/char/dcc_tty.o] Error 1
----------

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
(cherry picked from commit 0274b1c917fe1eba159910e4775d981edc446495)

(cherry picked from commit 12638ee074657421a0d754c9d5c354d12432e142)

Change-Id: I5937cd68a82c2886428edf9558b0e148991a44bc
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/285963
Reviewed-by: Olof Johansson <olofj@chromium.org>
2015-07-16 20:24:29 +00:00
..
2014-01-07 17:05:21 -08:00
2015-05-02 03:40:04 +00:00
2013-03-15 12:23:48 -07:00
2013-05-05 00:11:29 -04:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-05-05 00:12:29 -04:00
2013-05-05 00:12:29 -04:00
2014-03-19 13:02:01 -07:00
2013-12-18 16:39:54 -08:00
2014-03-19 13:02:01 -07:00
2012-11-21 12:55:19 -08:00
2013-12-19 15:10:49 +01:00
2013-02-22 23:31:31 -05:00
2012-10-07 07:22:32 -07:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-10-16 12:36:10 -07:00