]> git.baikalelectronics.ru Git - kernel.git/commit
tty: actually undefine superseded ASYNC flags
authorJohan Hovold <johan@kernel.org>
Wed, 7 Apr 2021 09:52:01 +0000 (11:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Apr 2021 08:36:34 +0000 (10:36 +0200)
commitc9acdef8d7b97473d5b98b866297c632139bff28
tree51e6700f3fb11361fb6b39d2fcc59bd1ab6aa145
parent23828ec551c110f1350a8d9b0317536bfa9397dc
tty: actually undefine superseded ASYNC flags

Some kernel-internal ASYNC flags have been superseded by tty-port flags
and should no longer be used by kernel drivers.

Fix the misspelled "__KERNEL__" compile guards which failed their sole
purpose to break out-of-tree drivers that have not yet been updated.

Fixes: af9a2abcc09d ("tty: core: Undefine ASYNC_* flags superceded by TTY_PORT* flags")
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210407095208.31838-2-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/tty_flags.h