serial: move the flags into the tty_port field
authorAlan Cox <alan@linux.intel.com>
Sat, 19 Sep 2009 20:13:30 +0000 (13:13 -0700)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:30 +0000 (13:13 -0700)
commitccce6debb62d94964e3878f978a56b0f3e32d94f
treec6df089e5b4394d841819090921b1673901d7a3a
parent91312cdb4fcd832341e425f74f49938e0503c929
serial: move the flags into the tty_port field

Fortunately the serial layer was designed to use the same flag values but
with different names. It has its own SUSPENDED flag which is a free slot in
the ASYNC flags so we allocate it in the ASYNC flags instead.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/serial_core.c
include/linux/serial.h
include/linux/serial_core.h