tty: move the async flags from the serial code into the tty includes
RFC PATCH 1/1 tty: move the async flags from the serial code into the tty includes
Jiri - this seem more sensible ?
From: Alan Cox <[email protected]>
These are used with the tty_port flags which are tty generic so move the flags into a more sensible place. This then makes it possible to add helpers such as those suggested by Huang Shijie.
Signed-off-by Alan Cox <[email protected]>
---
include/linux/Kbuild | 1 + include/linux/serial.h | 75 ++----------------------------------------- include/linux/tty.h | 1 + include/linux/tty_flags.h | 78 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 83 insertions(+), 72 deletions(-) create mode 100644 include/linux/tty_flags.h
include/linux/Kbuild +1 -0
@@ -370,6 +370,7 @@ header-y += tipc.h header-y += tipc_config.h header-y += toshiba.h header-y += tty.h +header-y += tty_flags.h header-y += types.h header-y += udf_fs_i.h header-y += udp.h
include/linux/serial.h +3 -72
90 lines not on this page · raw message
include/linux/tty.h +1 -0
@@ -43,6 +43,7 @@#include <linux/tty_driver.h> #include <linux/tty_ldisc.h> #include <linux/mutex.h> +#include <linux/tty_flags.h>
include/linux/tty_flags.h new file +78 -0
78 lines not on this page · raw message
Quoted 1 line · Alan Cox
Jiri - this seem more sensible ?
I would be faster if you CCed me :).
Quoted 7 lines
From: Alan Cox <[email protected]>
These are used with the
tty_portflags which are tty generic so move the flags into a more sensible place. This then makes it possible to add helpers such as those suggested by Huang Shijie.Signed-off-by Alan Cox <[email protected]>
Acked-by Jiri Slaby <[email protected]>
Quoted 6 lines
include/linux/Kbuild | 1 + include/linux/serial.h | 75 ++----------------------------------------- include/linux/tty.h | 1 + include/linux/tty_flags.h | 78 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 83 insertions(+), 72 deletions(-) create mode 100644 include/linux/tty_flags.h
thanks,
Signature · 2 lines
js suse labs