]> git.decadent.org.uk Git - exar-uart-driver.git/commit
Update use of Linux tty api
authorJoel Stanley <joel@jms.id.au>
Mon, 2 Jun 2014 05:28:10 +0000 (14:58 +0930)
committerJoel Stanley <joel@jms.id.au>
Sun, 8 Jun 2014 04:43:48 +0000 (14:13 +0930)
commitc0ef8f258f87a8da6ffec19f963f3d9a657dcd84
tree0a0730b9614a290d145b568c152b172075ec8070
parentaf965936302b0b78cba940a5939830584fab479e
Update use of Linux tty api

The following commit changed the api:

commit 05c7cd39907184328f48d3e7899f9cdd653ad336
Author: Jiri Slaby <jslaby@suse.cz>
Date:   Thu Jan 3 15:53:04 2013 +0100

    TTY: switch tty_insert_flip_string

Fixes the following build failures against 3.13:

  In file included from xr21v141x-lnx-3.5-pak/vizzini.c:39:0:
  include/linux/tty_flip.h:29:19: note: expected ‘struct tty_port *’ but argument
  is of type ‘struct tty_struct *’
   static inline int tty_insert_flip_string(struct tty_port *port,
                     ^
  xr21v141x-lnx-3.5-pak/vizzini.c:364:2: warning: passing argument 1 of
  ‘tty_flip_buffer_push’ from incompatible pointer type [enabled by default]
    tty_flip_buffer_push(tty);
    ^
  In file included from xr21v141x-lnx-3.5-pak/vizzini.c:39:0:
  include/linux/tty_flip.h:14:13: note: expected ‘struct tty_port *’ but argument
  is of type ‘struct tty_struct *’
   extern void tty_flip_buffer_push(struct tty_port *port);
               ^

Signed-off-by: Joel Stanley <joel@jms.id.au>
vizzini.c